Re: [Fish-users] git-refresh - New oh-my-fish Plugin
Essentially, he wants this function to have git manage a folder the same way Dropbox does, keeping them in sync automatically, in the background. You're looking at it like a source repo; I suspect Niels is looking at this from the point of view of automatic folder backup & sync (or, at least using git in this way *also*, in addition to its normal usage). Am I correct in this interpretation Niels, or am I incorrectly putting words in your mouth? On Mon, Jun 24, 2019 at 3:07 PM Ralph Seichter wrote: > * Niels Kobschätzki: > > > When you use more than 1 computer, then you need this [...] > > I should probably have put more emphasis on *automatic* in my previous > message. I also do use more than one computer, but in the case of a > single-user Git repository, I happen to know exactly when the last push > happened on computer A and can easily remember to pull on computer B. > Hence my question about a useful scenario. ;-) > > -Ralph > > P.S.: This discussion is quite off-topic in terms of Fish, and I hope > we're not boring subscribers. > > > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] first draft for fish article
Great article. I didn't read it all, but I did have one suggestion. You cover aliases and abbreviations, then say that abbreviations are preferred. If they are preferred, put them first; for the new learner, you should always put the thing you want them to learn first, first. When struggling with a new language it's no fun to learn one thing, then learn that there is a better way to do it *after* you've struggled to learn the first. Roughly equivalent to teaching someone 'thee' and 'thou' before explaining that those are archaic and we generally use just 'you' now. On Thu, Oct 5, 2017 at 8:40 PM Mark Volkmannwrote: > Hello all! I've been working very hard on a long article that I hope can > bring more attention to fish. I just started learning about fish about > three months ago and have been documenting everything I've learned. I > absolutely love it! > > It would be great if you could review this and give me feedback on any > errors in the article or things that could be explained better. In some > ways it is more of a reference guide and is quite long (34 pages), but it's > no replacement for the excellent documentation that the main fish website > already provides. > > You can find the article at https://mvolkmann.github.io/fish-article/. > > I am not advertising this elsewhere yet and want to keep it under wraps > until I'm ready to announce the final version on 11/1. Of course I'd be > glad to make updates after that date, but want it to be as good as possible > by that date. > > Feel free to send me any feedback, no matter how minor. > > -- > R. Mark Volkmann > Object Computing, Inc. > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] ridiculousfish
Perhaps I'm confused, but it appears to me that asking the person directly, by emailing the contact information right on their blog, is a better way to contact someone regarding their identity that posting a question to an open mailing list. On Mon, Sep 11, 2017 at 1:08 PM Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > I will do that if nobody can tell me their real name. > > > R. Mark Volkmann > Object Computing, Inc. > > On Sep 11, 2017, at 1:34 PM, Myrddin Emrys <myrd...@gmail.com> wrote: > > Nothing wrong with crediting "The user who goes by the online moniker > 'ridiculousfish'." It's like 'the artist formerly known as Prince' and it's > common practice in journalism. > > On Mon, Sep 11, 2017 at 12:23 PM Mark Volkmann <r.mark.volkm...@gmail.com> > wrote: > >> I want to know because I am writing a long article on the fish shell that >> will be released on 11/1. It contains a section on the history and I would >> like to credit that person by name. >> >> >> R. Mark Volkmann >> Object Computing, Inc. >> >> On Sep 11, 2017, at 1:19 PM, Mandeep Sandhu <mandeepsandhu@gmail.com> >> wrote: >> >> The s/he is the benevolent dictator of this project, I presume. >> >> Why would you want to know anything more? >> >> -mandeep >> >> >> On Sun, Sep 10, 2017 at 5:28 AM, Mark Volkmann <r.mark.volkm...@gmail.com >> > wrote: >> >>> Who is ridiculousfish? >>> Perhaps that is a closely guarded secret. >>> Google doesn't seem to know. ;-) >>> >>> --- >>> R. Mark Volkmann >>> Object Computing, Inc. >>> >>> >>> -- >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> ___ >>> Fish-users mailing list >>> Fish-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/fish-users >>> >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users >> > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] ridiculousfish
Nothing wrong with crediting "The user who goes by the online moniker 'ridiculousfish'." It's like 'the artist formerly known as Prince' and it's common practice in journalism. On Mon, Sep 11, 2017 at 12:23 PM Mark Volkmannwrote: > I want to know because I am writing a long article on the fish shell that > will be released on 11/1. It contains a section on the history and I would > like to credit that person by name. > > > R. Mark Volkmann > Object Computing, Inc. > > On Sep 11, 2017, at 1:19 PM, Mandeep Sandhu > wrote: > > The s/he is the benevolent dictator of this project, I presume. > > Why would you want to know anything more? > > -mandeep > > > On Sun, Sep 10, 2017 at 5:28 AM, Mark Volkmann > wrote: > >> Who is ridiculousfish? >> Perhaps that is a closely guarded secret. >> Google doesn't seem to know. ;-) >> >> --- >> R. Mark Volkmann >> Object Computing, Inc. >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users >> > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] bug in computing COLUMNS?
The reason is that very low sizes are two things: * Don't work with fish. * Often a terminal error. Terminals that fail to report their size are not unusual. An easy way to head off both problems is to use a default size (to mis-represent) when it's likely that the terminal is lying to fish. Note that you have not ever claimed that you wanted to actually use a sub-20 column terminal... you just want to test it, so that you can make sure your code works well with it. Rather than focusing on the odd behavior, can you instead describe a use-case where sub-20 width terminal usage makes sense and has utility for a class of users? Because it sounds like you're asking developers to change how they've programmed fish to deal with a problem. So if you want other people to work out a more complicated solution to a problem, it's important to explain who will benefit from that work. What type of user needs very narrow terminals? How will they benefit from this work? On Sat, Sep 2, 2017 at 9:44 AM Greg Reaglewrote: > On Sat, Sep 2, 2017, at 10:20, Kurtis Rader wrote: > > Fish won't work if COLUMNS is one or two either. As I said earlier I > > don't recall now what the exact threshold is but I'm pretty sure it was > > greater than ten. Similarly, it won't work if LINES is less than two. So > > the actual threshold is not zero versus non-zero. Feel free to do some > > experiments to determine the hard lower limit on COLUMNS and ask that it > > be used as the hard lower bound rather than 20. Of course, that just > > moves the goal posts slightly so it's not clear it really matters at the > > end of the day. Fish will not work in a 1x1, 2x2, 5x2, or other similarly > > sized terminals. > > But you're still not answering my question. What is the advantage of > *mis-representing* the size? You say that fish will not work with a too > small terminal. Okay, what does that have to do with fish reporting > that the terminal is 80x24 to *other programs*? Does fish work better > in a too small terminal when it pretends that the terminal is 80x24? If > no, what's the point? If yes, can it pretend internally without > mis-representing the size to other programs? > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] bug in computing COLUMNS?
The general reason for this is terminals that fail to correctly set a width are more common that terminals less than 20 characters wide. I think the current behavior (using a default width if the reported width seems incorrect) will help more people than it hurts. On Fri, Sep 1, 2017 at 8:45 AM Mark Volkmannwrote: > I'm trying to make my fish_prompt function intelligent enough to handle > any width. > When wide enough, I'm outputting the current directory path and the Git > branch if I'm in a Git repo. > If the window too narrow to display all of that on one line, I display > them on two lines. > If the directory won't fit, I output the result of prompt_pwd instead. > Below 20 columns I want to just display a fish icon. > That's why I need to be able to detect whether the window is less than 20 > columns. > > I use tmux and sometimes have narrow panes from lots of splitting. > Typically I won't have panes that narrow, but when I do I want to handle it > and not just have a ">" prompt. > > On Fri, Sep 1, 2017 at 8:38 AM, David Adam > wrote: > >> On Fri, 1 Sep 2017, Dave Cottlehuber wrote: >> > On Fri, 1 Sep 2017, at 14:52, Mark Volkmann wrote: >> > > I'm working in iTerm2 on a Mac. >> > > Entering "echo $COLUMNS" gives the correct value at most window >> widths. >> > > However, if the width is less than 20, it always reports 80. >> > >> > On OSX Sierra, with fish 2.6.0, I get the same as you. However if you >> > try under Terminal.app you are unable to resize the terminal less than >> > 20 columns anyway... >> > >> > On FreeBSD 12.0-CURRENT & fish 2.5.0, things work as you'd expect. >> > terminal is urxvt in i3wm. >> >> This behaviour was introduced in commit >> 2be1288cacab7ddeee407d22e752b0a3bfa16e63 which is included in 2.6.0 (and >> 2.6b1). >> >> Does anyone use a terminal less than 20 columns wide? >> >> David Adam >> fish committer >> zanc...@ucc.gu.uwa.edu.au >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users >> > > > > -- > R. Mark Volkmann > Object Computing, Inc. > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish transalation of the !! ?
I'm not at my computer, but you can use the history variable. $ my_command $history[0] I have not done this myself, so I can't remember if you should use $history[1] instead. Not sure when the current command gets pushed into the array. On Tue, May 28, 2013 at 11:31 AM, Yvon Thoraval yvon.thora...@gmail.comwrote: before switching to fish, from zsh, I've used a command like : $ my_command !! the !! being translated to last command line (as up key). is there a way to get last command line as argument of the current command line ? -- Yvon@48.871651804,2.384858688 -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] math in fish
The syntax is consistent if you see that *math *expects one parameter. But I agree the example could be clearer. On Thu, Sep 6, 2012 at 9:56 AM, Wai Yan Pong wypon...@gmail.com wrote: Torsten and Jon, thank you both. If you type help, all you get is the example math 1+1 (without quotes). Hum... so the example is misleading and the syntax is inconsistent. I hope these can be fixed in the next version. --Pong On Thu, Sep 6, 2012 at 7:33 AM, Jon Clayden jon.clay...@gmail.com wrote: It will work if you quote it: $ math '2*2' 4 All the best, Jon On 6 September 2012 15:27, Wai Yan Pong wypon...@gmail.com wrote: What is the syntax for multiplying two numbers using the math function in fish? Type math 1+1 at the prompt will give you 2, but neither * nor x seems to work for multiplication and I couldn't find any hints from the documentation. Thanks in advance -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Hiding a command from history
Does that mean that you could easily create an alias to do it by creating something of the effect of: execute $foo; history --delete $foo On Mon, Jun 11, 2012 at 5:38 PM, ridiculous_fish corydo...@ridiculousfish.com wrote: Hi Gavin, There's no way to run a command with suppressed history yet. However, it is possible to delete a history item, via the history built-in (e.g. history --delete foo). Hope that helps, _fish On Jun 7, 2012, at 3:48 PM, Gavin Brock wrote: Hi, In some shells, such as bash, you can prevent a command that you are about to execute, or just executed, from appearing in shell history. Is there any similar ability in fish? I am looking for this because I am trying to make csshX fully fish compatible, and the program sends commands to shells via applescript, and I don't want to pollute the users history. Thanks, -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] moving forward, what needs to be done
There are always better things one can spend their time on... of course, since this list is a pre-selected roster of geeks, wasting a few minutes bantering about ascii-art is the normal-person equivalent of discussing the latest football game. :-) On Wed, Jul 13, 2011 at 20:41, Robert Shinka k...@unknownlayer.net wrote: On Wed, Jul 13, 2011 at 09:36:45AM -0500, Myrddin Emrys wrote: The problem with that logo, nice as it is, is that the should be on the right (as the final prompt character) rather than the left. And as far as pretty prompts... I'm of the opinion that they are a waste of space overall, but I think that it would be a nice little thing to have on, perhaps, the first prompt shown on a new terminal (not every prompt, just the first). The only way I would be able to accept the presence of this in the actual shell and not just as a logo on the website is if the ascii art is only a part of the default $fish_greeting message. I still think there are better things we could be spending our time on though. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] moving forward, what needs to be done
The problem with that logo, nice as it is, is that the should be on the right (as the final prompt character) rather than the left. And as far as pretty prompts... I'm of the opinion that they are a waste of space overall, but I think that it would be a nice little thing to have on, perhaps, the first prompt shown on a new terminal (not every prompt, just the first). On Tue, Jul 12, 2011 at 22:21, Philip Ganchev phil.ganc...@gmail.comwrote: One more try. *)~ On Fri, Jul 8, 2011 at 8:59 PM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: Hi Philip I like the gills on this one, *) -Patrick On 11-07-08 07:56 PM, Philip Ganchev wrote: I am not opposed to a new logo, though I don't consider it important. There is no problem with someone having the trademark to the project's logo. If you do design a new logo, it might be cool to incorporate the Fish prompt, ~, into it. Or you can use other ASCII art: *) @ *~ Cheers, Philip On Fri, Jul 8, 2011 at 3:33 PM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: Hi Terin, hi List I am afraid I don't know enough ruby to help. If Axel is done with us should we create another fish logo? I doubt he trademarked fishshell but the fish shell logo is trademarked by default. I can create one and mail thumbnail photos to the list? It might take some time though. We should probably purge the project of liabilities, if not for anything else, then for Terin's sake as he is hosting it. -Patrick On 11-07-08 12:59 PM, Terin Stock wrote: It's a standard Linux stack. Right now the main site is static content. I'm currently working on migrating to Redmine -- #Terin Stock Undergraduate, Computer Science (CISE), University of Florida On Friday, July 8, 2011 at 7:43 AM, Patrick Mc(avery wrote: So I don't actually know who is in control of the mailing list? Is it Terin? He is in control of fishshell.com right? What is fishshell.com running on in terms of a framework or is it all static content? Is there anyway to help Terin with the site? once we have a wiki again I would like to contribute but setting up the wiki may or may not be that simple. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] sudo vs fish - have to re-enter password
Excellent work Korek. I personally have no idea what tty_tickets are either. It sounds like a different way to record timestamps. On Tue, Mar 8, 2011 at 07:52, Korek korek...@seznam.cz wrote: tty_tickets were causing the problem! Turned them off. Dunno what tty_tickets are exactly for, but it works fine now. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598567 Thx On 03/08/2011 02:41 PM, Korek wrote: Ok, a little more light into this: It does work both on LMDE and Debian Sqeeze (fresh install) in console. It does not work under gnome. (both systems) ..now, It seems to be a serious problem. test@debian:~$ sudo ls [sudo] password for test: Dokumenty Hudba Obrázky Plocha Stažené Šablony Veřejné Videa test@debian:~$ sudo ls Dokumenty Hudba Obrázky Plocha Stažené Šablony Veřejné Videa test@debian:~$ fish Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish test@debian ~ sudo ls [sudo] password for test: Dokumenty Hudba Obrázky Plocha Stažené Šablony Veřejné Videa test@debian ~ sudo ls [sudo] password for test: Dokumenty Hudba Obrázky Plocha Stažené Šablony Veřejné Videa test@debian ~ On 03/08/2011 12:55 PM, Korek wrote: I'm using Linux Mint DE (based on Debian) ... tried to boot from LiveDVD - it's the same. Tried to install Debian Squeeze in Virtualbox - it works. So there's something wrong with Mint. I've posted the question into Mint forums. Just for the record: http://forums.linuxmint.com/viewtopic.php?f=141t=67878start=0 Z On 03/07/2011 11:31 PM, Jan Kanis wrote: Check that fish and bash are both actually calling the sudo command directly, i.e. that there are not any functions/aliases for sudo. If both are calling the command directly, my guess is that it must be something with environment variables. See if there are any exported ones in bash/fish that look relevant, else try duplicating the entire environment that one shell uses to the other when calling sudo. AFAIK these are the only real ways in which the specific shell could influence how a command executes. Jan On Mon, Mar 7, 2011 at 21:38, Korek korek...@seznam.cz wrote: z - that's my username echo $USER z Thanks On 03/07/2011 06:45 PM, Stestagg wrote: what is the value of the $USER environment variable in your fish shell? Thanks Steve (ps. sorry for the initial reply, pressed wrong button) On Mon, Mar 7, 2011 at 5:30 PM, David Frasconed...@frascone.com wrote: Same here -- works for me. And, iirc, it has always worked correctly for me. :) Try the current version(s). -Dave On Mon, Mar 7, 2011 at 9:25 AM, Myrddin Emrysmyrd...@gmail.com wrote: I have to say that this has not been my experience. I am not using the latest fish however; I'm using the default version in the Ubunto repository. I have had no problems using sudo; it properly remembers and uses my password timeout. On Mon, Mar 7, 2011 at 09:58, Korekkorek...@seznam.cz wrote: Hello, I have a problem with sudo vs fish when I use sudo, it asks me to enter password repeatedly, even thou I have sudo timeout set to 15 minutes. sudo works correctly under bash look at the following example: z@pc /t/zTemp ls a/ b/ z@pc /t/zTemp sudo ls [sudo] password for z: a b z@pc /t/zTemp sudo ls [sudo] password for z: a b z@pc /t/zTemp bash z@pc /tmp/zTemp $ sudo ls [sudo] password for z: a b z@pc /tmp/zTemp $ sudo ls a b fish, version 1.23.1 Any clues? thx -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net
Re: [Fish-users] fishshell.org expired?
If the DNS was going bye bye, then 'going right to the source' would still work fine (similar to using the IP). The symptoms are consistent with an expired domain, or with borked root server resolution. But personally, 'expired domain' seems a much more likely possibility than 'the root DNS servers made a boo-boo'. On Thu, Sep 23, 2010 at 08:44, David Frascone d...@frascone.com wrote: Ok -- the site is up, but DNS is broken. Probably a broken cache server somewhere. The whois info is correct. And, if you go right to the source from the whois, dns works: dfrasc...@daves-mbp ~/W/C/I/I/fio-bugreport-20100917.121443-iN5456 dig @ ns1.vireo.net fishshell.org ; DiG 9.6.0-APPLE-P2 @ns1.vireo.net fishshell.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 9843 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;fishshell.org. IN A ;; ANSWER SECTION: fishshell.org. 3600 IN A 174.133.174.138 I've tested both ns1 and ns2.vireo.net. But, if you just try to resolve fishshell.org, it's broken. Finally I added 174.133.147.138 to my /etc/hosts, and, the web page loads just fine. So -- DNS is broken at the moment, and it looks like a caching thing. But, the web page is fine. -Dave P.S. I have no idea if the domain is going bye bye, though. On Thu, Sep 23, 2010 at 9:40 AM, Christopher Nilsson christop...@otherchirps.net wrote: On 23 September 2010 23:28, David Frascone d...@frascone.com wrote: Since it's only 2010, I'm pretty sure it shows that the domain is fine for another year. That's what I thought at first, but a little googling about auto renew periods on domains gives statements like: Upon your domain reaching the 'auto-renew' period, the Registry adds one additional year to your term. However, You have not paid for this year. So if after 45 days and you still have not paid the registrar then your domain will be deleted and the extra year will disappear. So it may be that fishshell.org is now within this 45 day countdown to doom. :( Of course, I only look at this domain registration stuff once in a blue moon, so I'd love to be wrong on this. - Chris. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fish key bindings
Discoverability isn't a large problem if it is documented well. Perhaps the documentation for key bindings should mention, in a couple places, how to set them the fishy way? On Tue, Feb 3, 2009 at 16:27, Axel Liljencrantz liljencra...@gmail.comwrote: Hi, Many people have noticed various problems with defining fish key bindings in the config files. I have investigated this, and found the cause, which turned out to be in the shellscript infrastructure deployed by fish, not in the main fish binary. Specifically, what happens is this: 1). Fish loads its startup scripts, including bindings in the users config.fish file. 2). When the init code finishes, fish displays the prompt. The displaying of the prompt triggers an event handler for the __fish_config_interactive shellscript function. 3). __fish_config_interactive runs the function pointed to by the universal variable fish_key_bindings, which by default is the function fish_default_key_bindings. 4). fish_default_key_bindings erases all bindings created by the user and redefines it's own bindings. 5). Profit! In other word, the infrastructure set in place here will make sure any configuration made by the user in config.fish will be ignored. The original idea behind these key bindings is that the user should specify their key bindings in a function, and then, whenever that function changes, fish will notice and all running shells will reload their keybindings. In other words: redefine stuff in one shell, and all shells are updated at once. Coolness. But this scheme obviously has major discoverability issues. :~/ So, I'm looking for suggestions on how to do things properly. Suggestions? Axel -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today- http://p.sf.net/sfu/adobe-com ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Importing variables
Thank you both. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] is it possible to search the beginning of a a command like it matlab?
It does sound like a nice feature. My only concern is the use case where you just recently typed a command with a unique center rather than a unique beginning. In the past few days, I've had a lot of commands like this: fetchlist.rb; and ruby Script.rb; and some more stuff... fetchlist is a script I wrote to synchronize files between computers, and I use it a lot when I'm sshing in from work. So when I'm hopping back to the previous command, I'll usually search with 'Script' or 'ruby'. Specifically, if I search with ruby in your method, rather than bringing up the very recent command that had ruby in the middle, it'll jump to a very old command with ruby in the beginning. I still might be a good overall change... but you you should be aware that a single use failure of this sort (requiring the user to back out and search with a different string, or hit the up arrow a dozen times to find the correct result) would wipe out the savings of typing only one character rather than three a hundred times over. If you are a touch typist (and if you aren't, go learn now, it'll save you more time than ANY app, process, tool, or language you use) then typing three characters in under a second... you would have to save many many fractions of a second to make up for the confusions that a dual-mode search might cause. I could be wrong... if you're expecting dual modes, then it's quite likely that time could be saved. And if you can force a search to the beginning, maybe that would save time in other ways other than just typing shorter searches. But I suspect that overall it would be a net loss. It's hard to tell without actually gathering statistics both ways. But with something that's hard to call, it's usually smarter to go with the simpler system. Being quicker to learn trumps being faster to use. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] is it possible to search the beginning of a a command like it matlab?
This would not be a good idea. This would be very confusing... there would be no easy to way to give feedback to the user why 'su' worked finding their command one time, but when they tried to search for 'screen su - bob' it failed. One and two character searches are not very useful, but it's not that hard to just type a couple more characters. It's not perfect, but it's better than a search function which changes behavior arbitrarily. On Mon, Nov 3, 2008 at 10:31, Abe Bachrach [EMAIL PROTECTED] wrote: I was gonna ask another question on the fish mailing list, and it made me remember this one... after thinking about my desired behavior more, I think the ideal situation would be to have fish do the following: if there are 2 or less characters being searched for show the items that match the beginning of the line first if there are 3 or more characters, use the current default behavior... in matlab most of the time, what makes the feature great is that you can enter 1 character, and then hit the up arrow, which is often very fast. doing this in fish is pretty much useless since 1 character will likely match most any command. with 2 characters things are better but you can still get unwanted search results, and with 3 its somewhat unlikely that you'll get these spurious useless matches, so doing the full search with 3 characters might make sense. thanks! -=Abe On Wed, Nov 7, 2007 at 12:45 PM, Abe Bachrach [EMAIL PROTECTED] wrote: I think that would be useful, however if things get too complicated with all the different cases that fish is trying to guess between, it could make it feel inconsistent, which would be bad. My guess is that the easiest solution would be to add an option such as alt+up similar to the ctrl+up which is currently used to tokenize the search. Ideally this should be easily configurable so people could set which their default behavior would be so that I could do the matlab style search from the beginning, and chris could use search anywhere :-) I do like the idea of giving higher priority to the commands which match at the beginning though, and I definitely think there is some room for a smart prioritization of search results such as ranking them: +add importance for being more recent + add importance for matching the beginning of the input - subtract importance for having many repeated commands match the same part etc... thanks for the response, and keep me posted! I would love to see this feature/option get added to fish! :-) thanks, -=Abe On Nov 5, 2007 9:32 PM, Martin Bähr [EMAIL PROTECTED] wrote: On Mon, Nov 05, 2007 at 06:24:27PM -0800, Chris Rebert wrote: Under your scheme, I'd type foo and then hit the up arrow a million times looking for the line I want, whereas in fish, I just have to remember one distinguishing *part* of the command, and it'll be completed by hitting the up arrow. what about making it search the beginning first and and if it fails to find anything then look in the middle? unlikely to have a command that starts with -y or a filename. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer working in new zealandopen-steam.org| webhaven.co.nz unix system- bahai.or.atiaeste.(tuwien.ac |or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/http://www.iaeste.or.at/%7Embaehr/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] find exit code
Easier said than done. In fish, the ? is not a legal part of a variable name at all... to display a proper suggestion for this error, it would need to do a special second pass scan of the command, without normal parsing, to see if it matches a special helpfile for that particular error. While it might be a good idea to create a 'second chance parsing' for help text, it's a large amount of work. On Wed, Oct 8, 2008 at 13:41, Alexey Shamrin [EMAIL PROTECTED] wrote: On Wed, Oct 8, 2008 at 7:17 PM, James Vega [EMAIL PROTECTED] wrote: Use the $status variable as documented at http://fishshell.org/user_doc/index.html#variables-status. Thank you James! Thank you Matthew! I missed $status in the docs, sorry. Shouldn't fish suggest using $status in this case? Alexey - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] find -user completion on OS X is broken
Perhaps it is just the Gmail web client, but I was unable to follow this bug report. Could you perhaps reformat it, or make it as a text file and attach it? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] find -user completion on OS X is broken
That makes much more sense, yes, thank you. I still don't know the answer to your question, but at least I understand the question now. :-) On Thu, Mar 13, 2008 at 3:20 PM, Aaron Gyes [EMAIL PROTECTED] wrote: It's supposed to look messed up (unless maybe my client or gmail is word-wrapping early or something?). Fish is printing incomprehensible stuff when you try to complete find -user: http://d.aaron.gy/fishosx.png Aaron Gyes On Mar 13, 2008, at 9:48 AM, Myrddin Emrys wrote: Perhaps it is just the Gmail web client, but I was unable to follow this bug report. Could you perhaps reformat it, or make it as a text file and attach it? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Newline escaping problem
[EMAIL PROTECTED] ~ echo foo \ bar \ foobar foo fish: Unknown command bar fish: Unknown command foobar Why do I want to achieve it? Simply for a reason of readability, I prefer it to echo foo bar foobar barf ... Hope it is clearer my problem now (at least if it is worth the trouble...). I think so. This should work: $ echo foo bar foobar foo bar foobar Is that what you're aiming for or am I still misunderstanding you? Axel I suspect you are still misunderstanding. In fish shellscripts, whitespace is significant (unlike, say, HTML, C, or Perl). In particular, a newline is not the same as a space. But to enhance readability, it's often preferable to split long commands over several lines. Quotes will only sometimes work for this, it does not solve it generally. A way to split commands over multiple lines... in other words, a way to have the shellscript ignore a newline or treat it like a space... can be helpful. I personally am ambivalent... I would use the feature if it existed, but wouldn't miss it much if it never does. I don't mind working with Basic or Python syntax, which don't generally allow lines to be split either. (Technically, VB does allow split lines, but I almost never used the feature) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] configuration lost and request for noclobber in set
On 10/18/07, Philip Ganchev [EMAIL PROTECTED] wrote: The trouble is the 'noclobber' option in the shell that shall not be named. It makes the '' operator modal, so when people write '' they expect something different if they are used to having the option set than if they are not. Modality isn't quite as bad as all that, since Fish has the facilities for excellent just-in-time help. Whenever fish misbehaves for me, it tells me why, and often exactly where I need to go to figure it out. # echo foo bar Error: file exists, and noclobber is set. Use ! to overwrite the file, or type help noclobber for more information. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] The trouble with casing
On 3/8/07, Martin Baehr [EMAIL PROTECTED] wrote: that's a good point. if one puts uppercase letters in there it's presumably done intentionally and getting the case changed on that would be irritating. Perhaps... but how often would it happen? Don't forget the scenario of why you are using this... linux mv *.DOtab *.do stupid.doc, silly.doc, resume.doc, ... linux mv *.do Just because I use capital letters doesn't mean I am certain of the case I want... there are scenarios either way. I think it's more consistent to always do a case insensitive match if there are no results. The whole point of pressing TAB in this situation is because you want to complete the line. You are EXPECTING matches. You wouldn't press tab if you thought there were no matches. So at that point, if the computer fails to see any matches, it's not a stretch to assume that there might be a simple case issue, and to start hunting... lower case when you expected upper, or vice versa, does not really matter. I don't know about you, but I don't press tab if I'm not expecting matches. So whether the computer has to change my case, show me other possibilities, or what, I want it to make a best effort try to guess what I may have wanted to match, on the assumption that I wouldn't be pressing tab if I didn't expect to find a match of some sort. Another point I missed in my previous example... there is an implied '*' on the end when you press tab, because you're extending a match. Myrddin - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] The trouble with casing
Hmm. I should cut back on the ranting. A point I forgot though... I have no problem with only doing the case insensitive matching if there are no globs/regex. It really does complicate matters. If the code turns out to be easy however, then working with globs/regex would be a bonus. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Autocomplete is Slow
When autocompleting, it takes far longer than it seems like it should. For example, I have 5 files in my home directory (10 counting .files). If I type ~/c, and then press tab, it takes a full 3 seconds to complete the single possible match. I do have a slow computer (P800), but doing a listing of my home directory only takes half a second at most... the autocomplete should take no longer. The output from 'ls ~/c*' is nearly instantaneous. Even if I do the autocomplete twice in a row (no hard drive seeking the second time) it still takes a full 3 seconds to autocomplete. It's doing a heck of a lotta processing for such a simple task... I think the algorithm is searching things it need not search. Myrddin - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Stable Versions
Do you plan on marking in some way versions that are considered 'stable'? In other words, versions where no new features had been introduced, only bug-fixes, and nobody had found any odd problems with it?I'm not a bleeding edge kinda guy... stable and safe is my preference. I'd also like to submit a new build to the Gentoo repository (the last one I submitted was 1.21.12), and I'm not sure which of the many versions is the most appropriate.Thanks. :-) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish file locations
in other words: do not create multiple files in the users homedirectory,but please move all of them into one directory called .fish (and not .fish.d as the .d is redundant)Ditto. I fiddle with config files enough that I put use the '-a' flag on my listings pretty constantly... so .fish added a significant clutter to my listings. I don't agree about the '.d' being redundant though, it's become a pretty standard ending to indicate that a file is a directory, for those who do not use colored output or filetype characters. With tab completion, the .d does not make it any harder - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users