Re: [Fish-users] Completion problem with regexp and string concatenation
On Wed, Mar 6, 2019 at 10:41 PM Kurtis Rader wrote: > > On Wed, Mar 6, 2019 at 1:29 PM SanskritFritz wrote: >> >> Hi and thanks for your answer. >> Indeed this way it works, but I don't understand why, because when I >> test that expression this works: >> string match --regex ' diff .*::[^ ]+ 'aaa'$' "borg diff ::aaa aaa" >> and this doesn't because (commandline) can contain spaces: >> string match --regex ' diff .*::[^ ]+ 'aaa'$' borg diff ::aaa aaa > > > You seem to be under the misapprehension that fish behaves like POSIX shells > (e.g., bash) with respect to command substitution. That is, that the output > of `(commandline)` is split on whitespace. The POSIX equivalent, > `$(commandline)` does split on whitespace. But fish only splits (i.e., > tokenizes) on newlines. So in fish, assuming the command line has a single > line, the output of `(commandline)` is equivalent to the double-quoted string > in your first example. There are various experiments you can do to show this. > For example: > > set var (commandline) > set --show var > > Note that this is also true for var expansion. Try this: > > set var "borg diff ::aaa aaa" > string match --regex ' diff .*::[^ ]+ 'aaa'$' $var > > Notice that `$var` doesn't need to be enclosed in double-quotes. Unlike a > POSIX shell where you do need to quote the var expansion to keep it from > being split on $IFS. Thank you for this explanation, much appreciated. Now I understand the difference. Cheers. ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Completion problem with regexp and string concatenation
On Wed, Mar 6, 2019 at 3:05 PM David Adam wrote: > > On Sun, 3 Mar 2019, SanskritFritz wrote: > > I'm writing completions for borg. > > There is a special case where I want to achieve the following: > > Fish should give a second archive list when the following scenario is > > present (the cursor is now at the end of the line after a space): > > borg diff repo::archive1 > > yielding this: > > borg diff repo::archive1 archive2 > > I have found a solution with this code (with some debugging help as > > well for now): > > > > function __fish_borg_is_diff_second_archive > > echo (commandline) >> ~/temp/debug.txt > > return (string match --regex ' diff .*::[^ ]+ '(commandline > > --current-token) '"'(commandline)'"' >> ~/temp/debug.txt) > > end > > complete -c borg -f -n __fish_borg_is_diff_second_archive -a 'archive1 > > archive2 archive3' > > > > This works well, with one little problem, particularly that after > > borg diff repo::archive1 archive2 > > pressing tab again lists the archives which I don't want. The reason > > is that the regexp still matches the commandline. So I thought I try > > to modify the regexp like this: > > > > function __fish_borg_is_diff_second_archive > > echo (commandline) >> ~/temp/debug.txt > > return (string match --regex ' diff .*::[^ ]+ '(commandline > > --current-token)'$' '"'(commandline)'"' >> ~/temp/debug.txt) > > end > > > > The only difference to the previous one is the '$' after the > > --current-token. With that I want to achieve a more strict matching. > > However this somehow doesn't match even the second archive, I have no > > idea why. Issuing the following in the shell actually works well (this > > is how I try to test the matching part): > > > > ~> string match --regex ' .*::[^ ]+ ''$' "borg diff repo::archive1 " > > diff repo::archive1 > > ~> string match --regex ' .*::[^ ]+ 'archi'$' "borg diff repo::archive1 > > archi" > > diff repo::archive1 archi > > ~> string match --regex ' .*::[^ ]+ ''$' "borg diff repo::archive1 archive2 > > " > > ~> echo $status > > 1 > > > > Now I don't know what is going on and I need your help please. > > Hi SanskritFritz, > > I asked our resident completions expert, faho@, and he has suggested the > following: > > `'"'(commandline)'"'` is wrong. There's no need to add quotes, and that > last quote will make it so `$` isn't directly after the current token > anymore. Hi and thanks for your answer. Indeed this way it works, but I don't understand why, because when I test that expression this works: string match --regex ' diff .*::[^ ]+ 'aaa'$' "borg diff ::aaa aaa" and this doesn't because (commandline) can contain spaces: string match --regex ' diff .*::[^ ]+ 'aaa'$' borg diff ::aaa aaa May I contact faho@ on github or is he reading this as well? ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Completion problem with regexp and string concatenation
Hi I'm writing completions for borg. There is a special case where I want to achieve the following: Fish should give a second archive list when the following scenario is present (the cursor is now at the end of the line after a space): borg diff repo::archive1 yielding this: borg diff repo::archive1 archive2 I have found a solution with this code (with some debugging help as well for now): function __fish_borg_is_diff_second_archive echo (commandline) >> ~/temp/debug.txt return (string match --regex ' diff .*::[^ ]+ '(commandline --current-token) '"'(commandline)'"' >> ~/temp/debug.txt) end complete -c borg -f -n __fish_borg_is_diff_second_archive -a 'archive1 archive2 archive3' This works well, with one little problem, particularly that after borg diff repo::archive1 archive2 pressing tab again lists the archives which I don't want. The reason is that the regexp still matches the commandline. So I thought I try to modify the regexp like this: function __fish_borg_is_diff_second_archive echo (commandline) >> ~/temp/debug.txt return (string match --regex ' diff .*::[^ ]+ '(commandline --current-token)'$' '"'(commandline)'"' >> ~/temp/debug.txt) end The only difference to the previous one is the '$' after the --current-token. With that I want to achieve a more strict matching. However this somehow doesn't match even the second archive, I have no idea why. Issuing the following in the shell actually works well (this is how I try to test the matching part): ~> string match --regex ' .*::[^ ]+ ''$' "borg diff repo::archive1 " diff repo::archive1 ~> string match --regex ' .*::[^ ]+ 'archi'$' "borg diff repo::archive1 archi" diff repo::archive1 archi ~> string match --regex ' .*::[^ ]+ ''$' "borg diff repo::archive1 archive2 " ~> echo $status 1 Now I don't know what is going on and I need your help please. ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Disable beep on failed tab completion
On Mon, Jan 9, 2017 at 1:59 PM, Thomas De Schampheleirewrote: > When a tab completion cannot be performed because no match is found, > currently I hear a beep. > How can I disable this beep? Well, my solution is global, because I freak out at that beep at any occasion. So I simply disable the module pcspkr or snd_pcsp (depending on distro/kernel etc): rmmod pcspkr -- 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] How to expand wildcard?
On Wed, Nov 30, 2016 at 1:37 PM, Shiyao Mawrote: > Say I have three files, aa, ab, and bb > I want to delete aa and ab. > > Normal, I would do: rm -f a*. And hope will exapnd a* to > aa,ab. so that I can confirm that's what I want to delete. > > But fish won't expand. > Neither will bash. If you pressed tab before putting the asterisk, you'd get the results you need. Also a simple ls a* shows too what you need. -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] sbase: is od needed?
What's wrong about it?? :D ;-) On Mon, Sep 28, 2015 at 6:50 PM, Greg Reaglewrote: > Sorry, wrong mailing list. > > On 09/28/2015 12:43 PM, Greg Reagle wrote: > > Howdy. Would it be useful for me to write od? Has anyone else worked > > on it? > > > > > -- > > ___ > > 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 > -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] How to delete a function?
On Thu, Jun 18, 2015 at 10:48 AM, Elias Assmann elias.assm...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi List, How do I delete a function? For saved functions, of course I can delete the file, and the function will be undefined in a new shell; but how do I remove function definitions in a running shell? functions --erase -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Edit command line in $EDITOR?
On Tue, Apr 7, 2015 at 9:38 AM, Gareth Skinner g...@sknr.org wrote: Hi fish-users, In bash, you can hit Ctrl-x-e to open your current command line in $EDITOR, make your modifications, and the shell runs your command when you exit. It also exists in zsh: http://stackoverflow.com/questions/890620/unable-to-have-bash-like-c-x-e-in-zsh I've been playing around with fish and sorely miss this feature. I can't find it in fish -- does it exist? Thanks, Gareth I'm afraid you can't. The documentation does not mention such possibility: Command line editor The fish editor features copy and paste, a searchable history and many editor functions that can be bound to special keyboard shortcuts. Here are some of the commands available in the editor: - Tab completes http://fishshell.com/docs/current/index.html#completion the current token. - Home or Ctrl-A moves the cursor to the beginning of the line. - End or Ctrl-E moves to the end of line. If the cursor is already at the end of the line, and an autosuggestion is available, End or Ctrl-E accepts the autosuggestion. - Left (or Ctrl-B) and Right (or Ctrl-F) move the cursor left or right by one character. If the cursor is already at the end of the line, and an autosuggestion is available, the Right key and the Ctrl-F combination accept the suggestion. - Alt-Left and Alt-Right move the cursor one word left or right, or moves forward/backward in the directory history if the command line is empty. - Up and Down search the command history for the previous/next command containing the string that was specified on the commandline before the search was started. If the commandline was empty when the search started, all commands match. See the history http://fishshell.com/docs/current/index.html#historysection for more information on history searching. - Alt-Up and Alt-Down search the command history for the previous/next token containing the token under the cursor before the search was started. If the commandline was not on a token when the search started, all tokens match. See the history http://fishshell.com/docs/current/index.html#historysection for more information on history searching. - Delete and Backspace removes one character forwards or backwards respectively. - Ctrl-C deletes the entire line. - Ctrl-D delete one character to the right of the cursor. If the command line is empty, Ctrl-D will exit fish. - Ctrl-K moves contents from the cursor to the end of line to the killring http://fishshell.com/docs/current/index.html#killring. - Ctrl-U moves contents from the beginning of line to the cursor to the killring http://fishshell.com/docs/current/index.html#killring. - Ctrl-L clears and repaints the screen. - Ctrl-W moves the previous word to the killring http://fishshell.com/docs/current/index.html#killring. - Alt-D moves the next word to the killring http://fishshell.com/docs/current/index.html#killring. - Alt-W prints a short description of the command under the cursor. - Alt-L lists the contents of the current directory, unless the cursor is over a directory argument, in which case the contents of that directory will be listed. - Alt-P adds the string '| less;' to the end of the job under the cursor. The result is that the output of the command will be paged. - Alt-C capitalizes the current word. - Alt-U makes the current word uppercase. You can change these key bindings using the bind http://fishshell.com/docs/current/commands.html#bind builtin command. -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Syntax highlighting color
On Wed, Dec 3, 2014 at 8:00 PM, ide94 . fuste...@gmail.com wrote: Fish seems to default to a darker, blueish font color that is extremely hard to read against my current background. Is there a way to swap the preset to another one, e.g. vim's set background=dark/light option? fish_config is your friend. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish shell 2.1.1 released
Nope, that was a bash-only bug. On Fri, Sep 26, 2014 at 5:41 PM, Luciano ES lucm...@gmail.com wrote: Does this have any relation to the 'Shellshock' bug found in Bash recently? Did Fish borrow code from Bash that inherits the bug? -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish shell 2.1.1 released
Some new completions from the master branch didn't make it into this release. Can we have them in the next release? -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fwd: fish shell tab completions for obnam
On Thu, May 29, 2014 at 11:53 AM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: the changes on the completions into fish upstream. Other shells don't usually provide completions for foreign programs, for example systemd provides bash and zsh completions, while fish provides completions for systemd. Thats probably because of the popularity/omnipresence of shells like bash. That's why the foreign program authors have an incentive to provide bash completions in order for their program to be more appealing/user-friendly. Till the time fish-shell reaches that level of popularity, I guess we keep on providing completions as part of fish. I'll happily maintain obnam.fish further until we have this: On Thu, May 29, 2014 at 11:58 AM, Siteshwar sitesh...@gmail.com wrote: Probably we can add another directory in $fish_complete_path where authors of other utilities can keep their completions and it should get priority over other completions. That is a very good idea! Where would that be? /usr/share/fish/external_completions or something shorter comes to my mind. -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fwd: fish shell tab completions for obnam
On Thu, May 29, 2014 at 3:20 PM, Siteshwar sitesh...@gmail.com wrote: I am not sure if such completions should be kept under /usr/share/fish. May be /usr/share/fish_external_completions or /etc/fish_external_completions. You're right, /usr/share/fish should be reserved for the fish package only. How about /etc/fish/external_completions? /etc is used for system-wide config files, for me it fits there. I keep my own system-wide completions in /etc/fish/completions. -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fwd: fish shell tab completions for obnam
So, that basically means, no fish package should provide that directory, but fish should check if it exists and use it. Should we file a request on github for this? On Thu, May 29, 2014 at 8:18 PM, Siteshwar sitesh...@gmail.com wrote: On my Fedora system uninstalling fish removes /etc/fish directory. So the files installed by other packages under /etc/fish/external_completions will also get deleted. If we are keeping files under /etc/fish/external_completions, we should make sure that any operations on fish package should not affect files in this directory. On Thu, May 29, 2014 at 6:58 PM, SanskritFritz sanskritfr...@gmail.com wrote: On Thu, May 29, 2014 at 3:20 PM, Siteshwar sitesh...@gmail.com wrote: I am not sure if such completions should be kept under /usr/share/fish. May be /usr/share/fish_external_completions or /etc/fish_external_completions. You're right, /usr/share/fish should be reserved for the fish package only. How about /etc/fish/external_completions? /etc is used for system-wide config files, for me it fits there. I keep my own system-wide completions in /etc/fish/completions. -- Regards, Siteshwar -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] history search bg color
On Thu, Apr 3, 2014 at 9:13 PM, Mike Miller fish-us...@mgmiller.net wrote: Hi, One of tiny features of fish 1.x that I liked was when searching through history with the up arrow, the part of each command that was matched was highlighted. I remember it as being a dark blue background. Does this feature still exist? I've looked in the color chooser in fish_config several times but can't seem to find it. $fish_color_search_match variable is your friend. -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Restarting fishd after rebuilding?
On Wed, Apr 2, 2014 at 7:10 PM, Kevin Ballard ke...@sb.org wrote: What's the correct way to restart fishd after building and installing a new version of fish? If I `killall fishd` all my terminal windows start spewing data about not being able to connect, and also emit 2 lines about attempting to restart fishd and not having it work. I also tried `killall fishd; and fishd` and that didn't work either. In the end I've been quitting and relaunching Terminal.app after installing a new fish just to ensure all my shells are properly connected back to fishd. But surely the active developers don't restart every instance of fish on their system when installing a new version, right? Simply exit fish, then fishd automatically exits too. Check it with ps -ef | grep fish -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] dependencies of fish?
On Mon, Mar 10, 2014 at 3:11 AM, David Adam zanc...@ucc.gu.uwa.edu.au wrote: On Sun, 9 Mar 2014, SanskritFritz wrote: Could you please have a look here: https://bugs.archlinux.org/task/39236#comment120328 fish explicitly links to ncurses and gcc-libs (see readelf -d output) and as shown by FS#35458 , it also needs hostname from inetutils package. I've edited the README to explicitly state that you require ncurses headers libraries to compile and ncurses libraries to run. I see, thanks. AFAIK, fish will link to gcc-libs if you compile it with GCC. There is no specific dependency in the fish code. Of course, there is no need to mention this in a package dependencies list. With regard to `hostname`(1), I'm surprised we need to explicitly note dependencies on NET-3 tools. It's been around since 4.2BSD (1983!). It's an essential package in Debian and RHEL. It's in the base system on Cygwin, Mac OS X, FreeBSD, Solaris and default Busybox. Well, in archlinux there is an inetutils package which is not part of the basic install. Nevermind. Thank you for your thorough answers, now we can package fish rest assured :) -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] dependencies of fish?
On Sun, Mar 9, 2014 at 4:16 PM, David Adam zanc...@ucc.gu.uwa.edu.au wrote: On Sat, 8 Mar 2014, SanskritFritz wrote: For packaging purposes, I'd like to receive an official statement about fish' hard dependencies. So far I know about bc and ncurses. Is that correct? Yes. Plus, the usual tools that most Unix-like systems have. I haven't found anything in the documentation. I added some recently. Have a look at the README.md: https://github.com/fish-shell/fish-shell/blob/master/README.md Amazing, thanks! -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] dependencies of fish?
On Sun, Mar 9, 2014 at 6:02 PM, SanskritFritz sanskritfr...@gmail.com wrote: On Sun, Mar 9, 2014 at 4:16 PM, David Adam zanc...@ucc.gu.uwa.edu.au wrote: On Sat, 8 Mar 2014, SanskritFritz wrote: For packaging purposes, I'd like to receive an official statement about fish' hard dependencies. So far I know about bc and ncurses. Is that correct? Yes. Plus, the usual tools that most Unix-like systems have. I haven't found anything in the documentation. I added some recently. Have a look at the README.md: https://github.com/fish-shell/fish-shell/blob/master/README.md Amazing, thanks! Could you please have a look here: https://bugs.archlinux.org/task/39236#comment120328 fish explicitly links to ncurses and gcc-libs (see readelf -d output) and as shown by FS#35458 , it also needs hostname from inetutils package. -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] dependencies of fish?
For packaging purposes, I'd like to receive an official statement about fish' hard dependencies. So far I know about bc and ncurses. Is that correct? I haven't found anything in the documentation. Thanks. -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Migrating from 1.X to 2.0
On Sun, Jan 5, 2014 at 8:39 PM, Mike Miller fish-us...@mgmiller.net wrote: First is that many aliases (functions) aren't working anymore because they now need full paths to binaries. Is this by design? Yes. This has been changed from fish 1.x. Other shells (including bash and fish 1.X) don't work like this, they can use aliases of aliases, which keeps them more modularized. I had to do this on most of them: +++ b/.config/fish/functions/fps.fish @@ -1,3 +1,3 @@ function fps - ps -ef | grep -v grep | grip $argv; + ps -ef | /bin/grep -v grep | /bin/grep -i $argv; end Or better, just prepend the commads with the 'command' identifier to tell fish it's not a function or builtin. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Welcome new fish committers zanchey and GlitchMr
On Fri, Jul 19, 2013 at 6:14 AM, ridiculous_fish corydo...@ridiculousfish.com wrote: Welcome new fish committers zanchey and GlitchMr. (Belatedly, in zanchey's case.) Both have already made outstanding contributions to the fish shell, and it's exciting to have them contributing directly! Keep up the good work! _fish Congratulations and thanks for your work on fish! -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Redirecting stderr to stdout ?
On Tue, May 21, 2013 at 11:17 PM, John Chludzinski john.chludzin...@gmail.com wrote: I tried: g++ mycode.cpp 2| less and g++ mycode.cpp ^| less Both failed? Using Korn/BASH I would have used: g++ mycode.cpp 21 | less Fish help says To redirect both standard output and standard error to the file all_output.txt, you can write echo Hello all_output.txt ^1 -- 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] fish 2.0 officially released
On Fri, May 17, 2013 at 10:32 AM, ridiculous_fish corydo...@ridiculousfish.com wrote: fish 2.0 is officially released and is available at http://fishshell.com! Thank you to all contributors, including but not limited to: • siteshwar • xiaq • JanKanis • maxfl • zanchey • kballard • adisbladis • dietsche • terlar • GlitchMr • lledey • DarkStarSword • simukis • SanskritFritz • Soares • hauleth • and many others fish would not be what it is without your valuable contributions. Wow, great day. Thanks for mentioning me as contributor, I feel really honored. Guys, thanks for your hard work on fish, kudos to Axel, the original creator of fish. ridiculous_fish you sir are a hero! -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Very slow fish in sshfs path
On Fri, Apr 12, 2013 at 11:04 AM, ridiculous_fish corydo...@ridiculousfish.com wrote: Hi Andrea, It is due to syntax highlighting. It should be fixed in fish 2.0. _fish Yeah, its funny to watch fish coloring the text afterwards :) -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] git status coloured output
On Fri, Apr 12, 2013 at 1:06 PM, Peter Flood i...@whywouldwe.com wrote: On my machine (osx) I get coloured output when I run `git status` (local changes are red and staged changes are green), when I ssh into ubuntu machines I get a coloured prompt and coloured output when I run `ls -la` but not for `git status`. Anyone know how to fix this? When you ssh into another machine, you run the shell present on the remote machine. So you need to configure fish on the remote machine the same way as it is on yours. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] setting PATH for good
On Thu, Jan 10, 2013 at 12:29 PM, Tomasz Kuźma map...@sezamkowa.net wrote: Hi fish-users! I got one small question that's causing a problem: Every time i launch fish (in iTerm2 in OSX 10.8.2) i have to manually add tex to PATH (set PATH $PATH /usr/texbin)- how can i do it so it will be preserved between launches? Thanks for help! Hi, use set -U http://ridiculousfish.com/shell/user_doc/html/commands.html#set -U or --universal causes the specified environment variable to be given a universal scope. If this option is supplied, the variable will be shared between all the current users fish instances on the current computer, and will be preserved across restarts of the shell. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fishfish autosuggest
Press ctrl-f or right arrow. Autosuggestions are just showing what *would* be suggested if you pressed those keys. By default they are in different colors. On Sat, Jan 5, 2013 at 5:29 PM, Daan van Vugt daanvanv...@gmail.com wrote: Hi, I seem to be unable to find the correct key to execute an autosuggested command in fish 2.0, and the man page is still the old version. Can anyone help me on this? Kind regards, Daan van Vugt -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Welcome new committer JanKanis
On Sun, Dec 30, 2012 at 10:45 PM, ridiculous_fish corydo...@ridiculousfish.com wrote: Jan Kanis, a veteran committer on fish 1.x, has chosen to continue in that role in fish 2.0. Jan has already made great contributions to fish, including spotting a signal race condition and untangling the mess that is the event_t type. Welcome (back) Jan! Thank you Jan for your hard work! -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Separators
Please vote ;) On Wed, Dec 19, 2012 at 7:27 PM, Maxim Gonchar gma...@gmail.com wrote: Hi, I hope so (: we are discussing it here: https://github.com/fish-shell/fish-shell/issues/384 Maxim On Wed, 19 Dec 2012 20:10:18 +0400, Goran Mekić m...@lugons.org wrote: Hello, Is there a way to configure fish to recognize the following array as separators: :;,.(){}[]? I mean, using ctrl+w, for example. Thanx! -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] call command with the same name as a function
Or alternatively use the full path for rake like /usr/bin/rake. On Sun, Dec 2, 2012 at 12:29 PM, Siteshwar Vashisht sitesh...@gmail.com wrote: Hi, You should prefix your command with command builtin, so the call would look like : command rake $argv For reference see : http://ridiculousfish.com/shell/user_doc/html/commands.html#command On Sunday 02 Dec 2012 11:45:24 AM Jakub Arnold wrote: How should I do it when I define a function which wraps a command and where I want to call the command from inside the function? An example of this function rake if test -f Rakefile bundle exec rake $argv else rake $argv # this ends up being an infinite loop end end Of course I could do `ruby -S rake` instead, but that's not a general solution to this problem. -- Regards, Siteshwar Vashisht -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] autocomplete alias from another command's autocomplete
Well, we are in the process of moving many completions to functions, the reason being exactly what you wish for. Check out pacman.fish, it merely contains a call to the function __fish_complete_pacman with pacman as argument. If you use an alias for pacman, say pm, all you need to do is create a copy of pacman.fish as pm.fish, edit it like this: __fish_complete_pacman pm and presto, pm has the same completions as pacman. On Fri, Nov 30, 2012 at 6:04 PM, Leonardo Boiko leobo...@gmail.com wrote: Still, extending completion to aliases would be a cool feature for fish to have. On 30 November 2012 14:09, Jakub Arnold darthd...@gmail.com wrote: Say that I have defined a simpe alias as a function function gco git checkout $argv end and I want to provide the same autocomplete that `git checkout` would have. Is it possible to do that in a simple way? -- Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Annoying completion behavior
On Wed, Nov 28, 2012 at 10:53 AM, Luciano ES lucm...@gmail.com wrote: I just noticed the current version of fish still has some annoying behavior I would love to see fixed in the near future. I am not sure how to explain it, so I will do it very slowly: $ ls . .. OfficialStats_Canada_2010.txt OfficialStats_Canada_2011.txt OfficialStats_Canada_2012.txt OfficialStats_GreatBritain_2010.txt OfficialStats_GreatBritain_2011.txt OfficialStats_GreatBritain_2012.txt OfficialStats_UnitedStatesOfAmerica_2010.txt OfficialStats_UnitedStatesOfAmerica_2011.txt OfficialStats_UnitedStatesOfAmerica_2012.txt For the duration of this explanation, pretend that ^ is the cursor, or caret. You know, the insertion point in my command line. I want to view or edit a file: $ vi of^ (Note: I know that the small 'o' will become capital 'O' automatically) I press Tab: $ vi OfficialStats_^ Type G or g, then Tab: $ vi OfficialStats_G^ $ vi OfficialStats_GreatBritain_201^ Type 0, then Tab: $ vi OfficialStats_GreatBritain_2010^ $ vi OfficialStats_GreatBritain_2010.txt [return] Fine. Now I want 2010 stats for USA: $ vi [Alt+up] $ vi OfficialStats_GreatBritain_2010.txt [left,left,left,left,left,left,left,left,left] [del,del,del,del,del,del,del,del,del,del,del,del] $ vi OfficialStats_^_2010.txt [U, tab] $ vi OfficialStats_U_2010.txt^ Damnit! Instead of completing UnitedStatesOfAmerica, the caret jumped to the end of the line! So I have to suffer through this: $ vi OfficialStats_U_2010.txt^ [left,left,left,left,left,left,left,left,left] $ vi OfficialStats_U^_2010.txt [space] $ vi OfficialStats_U ^_2010.txt [left] $ vi OfficialStats_U^ _2010.txt [Tab] $ vi OfficialStats_UnitedStatesOfAmerica^ _2010.txt (note the space) [delete the space] $ vi OfficialStats_UnitedStatesOfAmerica^_2010.txt [return] Grumble... Obviously, I want fish to complete in the middle of words just the way it does immediately before a space. I've had that on tcsh and I've become too accustomed to it, because it's so convenient. I migrated to fish many months ago, but keep running into this mistake and fish adamantly refuses to cooperate! When will it learn? :-) Whaddyathink? Maybe it helps that fish does cycle through the possible completions by repeatedly pressing tab. -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Auto-complete on enter directly
On Tue, Sep 11, 2012 at 8:15 AM, Martin Bähr mba...@email.archlab.tuwien.ac.at wrote: On Mon, Sep 10, 2012 at 10:39:53PM -0700, Kevin Ballard wrote: I'd like a way for the auto-complete to work exactly like in my browser, which means i want to have it auto-complete and execute just from a single press of enter, without ctrl-f or right arrow. I think this is a misguided idea. In the browser, you have the concept of a selection. When the browser autocompletes a URL, it leaves the autocompleted part selected, for easy deletion/modification. But to do what you want in fish, you'd have to define a completely new keyboard shortcut whose sole purpose is to delete the current autocompletion so you can execute what you have if that's all you want. for the record, i hate my browser automatically activating the auto-complete selection on enter. i tend to type and hit enter quickly if i know that i just typed exactly what i want and i get very annoyed if i get something different than what i typed. in the shell i'd probably dislike it as much, if not more. +1 big time! Autocompletion annoys me even in this state, although I'm getting used to it. -- 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] a query about uninstalling
On Thu, Aug 30, 2012 at 2:48 PM, Hill, Richard D rich...@kingston.ac.uk wrote: Btw are there any plans to bring alias support to fish ? Why there is, even the alias command is supported: function alias --description Legacy function for creating shellscript functions using an alias-like syntax in /usr/share/fish/functions/alias.fish -- 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] I'm not receiving my own messages
On Thu, Jun 21, 2012 at 8:50 PM, Kevin Ballard ke...@sb.org wrote: I don't seem to be receiving my own messages sent to this list, even though I triple-checked my settings and I'm supposed to be getting them. Is anyone else having this problem? I didn't even know I was supposed to receive them. They are in my sent mail. -- 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] default shell?
On Tue, Jun 12, 2012 at 8:45 AM, Gour g...@atmarama.net wrote: Now I wonder whether you recommend to set fish as default shell? (I'm on x86_64 Archlinux) I know some users who use fish as default shell, there are some things to do, but it is relatively painless. Read the comments here: https://aur.archlinux.org/packages.php?ID=43684 -- 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
[Fish-users] Converting old fish history to the new format?
Is there a way to convert the old format history file to the new one? I rely on history, and when I install fishfish, I lose all of it. So I find myself installing the old fish again and again. -- 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] git question
On Wed, Jun 6, 2012 at 8:07 AM, Maxim Gonchar gma...@gmail.com wrote: Well, the same happens after updates of original repository. If I try 'git log' I see only old commits that happen more than a week ago. After reading some forums, I've tried to set upstream git remote add upstream https://git.gitorious.org/~ridiculousfish/fish-shell/fishfish.git and then git merge --ff-only upstream/master or git pull --all But again, I do not have latest commits. Silly question, did you switch to fish_fish the branch? -- 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] scp remote path completion
On Tue, Jun 5, 2012 at 11:11 PM, pants pa...@cs.hmc.edu wrote: There doesn't seem to be one of these available in the archives, and it's the thing I've missed most since moving from zsh, so I figured I'd really get fishy and write it. Appending the following to your scp.fish (or making an alternate scp.fish in .config/fish/completions) will allow you to preform tab completion of remote paths for scp! Identical completions could also provide identical functionality in rsync. It would be nice to integrate fish's built-in description methods, but I can't think of a way to do that without ensuring fish is installed on the remote system (not a general fix) or mounting an sshfs (gross). Code: complete -c scp -d Remote Path -n echo (commandline -ct)|sgrep -o '.*:';and true -a ( #Prepend any user@host information supplied before the remote completion echo (commandline -ct)|sgrep -o '.*:' )( #Get the list of remote files from the specified ssh server ssh -o \BatchMode yes\ (echo (commandline -ct)|sed -ne 's/\(.*\):.*/\1/p') ls\ -d\ (echo (commandline -ct)|sed -ne 's/.*://p')\* ) Enjoy! Wow, thank you. -- 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] Announcing Open Beta for our fancy new fish fork
On Wed, May 30, 2012 at 8:21 PM, Axel Liljencrantz liljencra...@gmail.comwrote: Hi all. I'm Axel, the original fish creator. I've been mostly AWOL for nearly half a decade, including not replying to a few private emails about maintainership. Sorry about that. I think it's fair to say I've lost the moral rights of the fish project. I'd like to publically state that * I don't currently plan on returning to active fish development, * I'd love for the fish project to continue and * needless forking hurts projects. Wow, welcome back Axel. Thank you for fish, it has been my primary shell for years now. It is exciting to see fish coming alive again. -- 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] Announcing Open Beta for our fancy new fish fork
One small observation: careful when you install fishfish over fish and want to go back to fish again, fish_history will be unusable due to the different format fishfish uses. OP, maybe considering using a different file name would not hurt. -- 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] fish_fish
On Wed, May 30, 2012 at 2:16 PM, Maxim Gonchar gma...@gmail.com wrote: So I'm trying new fish and have some questions and notes. It became really fast and amazing. 1) On archlinux ... I created an AUR package for fishfish: https://aur.archlinux.org/packages.php?ID=59641 -- 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] fish_fish
On Wed, May 30, 2012 at 9:44 PM, ridiculous_fish corydo...@ridiculousfish.com wrote: Hi Peter, Do you use the implicit cd feature for any paths other than '..'? I removed implicit cd because I found it to be very confusing in general, especially when combined with a CDPATH that includes ~ I agree with that. I use CDPATH extensively and found it annoying that all directories were autocompleted when I wanted to enter a command with autocompletion. -- 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] complete --arguments is executed when completing options
On Fri, Apr 13, 2012 at 10:46 AM, Maxim Gonchar gma...@gmail.com wrote: So it is intentional then. How can I prevent this behaviour? I toyed with __fish_contains_opt, but that is not optimal. I will try to parse commandline --current-token but it gets too complicated, it defies the simplicity of completions. I noticed that in nearly *all* occasions the --arguments script is executed, which is quite annoying if it takes long time just to complete just a simple option. You can try this: complete -c foo -n not expr match (commandline -t) '^-.*' /dev/null -a '(sleep 2; echo aaa)' the '-n' condition is cached. So as soon as you will use the same condition for all completions it is not going to be slow. This is a good solution, thanks! -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] complete --arguments is executed when completing options
On Fri, Apr 13, 2012 at 7:57 AM, Maxim Gonchar gma...@gmail.com wrote: On Fri, 13 Apr 2012 00:45:27 +0400, SanskritFritz sanskritfr...@gmail.com wrote: Consider this foo.fish file: complete --command foo --no-files --short-option a --long-option 'an_example' --description 'example A' complete --command foo --no-files --arguments '(sleep 5s)' --description 'slept' Type in the shell foo - and press tab. 5 seconds pass, before we get the result. If I delete the second line from foo.fish, the result is instantanious. AFAIK, the --arguments should not be executed when fish is completing options for a command. Is this a serious bug or am I missing something? But if your --arguments script will return something starting with dash, fish have to complete it. Consider this example: complete -c foo -a '-opt1 -opt2' So it is intentional then. How can I prevent this behaviour? I toyed with __fish_contains_opt, but that is not optimal. I will try to parse commandline --current-token but it gets too complicated, it defies the simplicity of completions. I noticed that in nearly *all* occasions the --arguments script is executed, which is quite annoying if it takes long time just to complete just a simple option. -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish completions for --param=option format?
On Tue, Mar 20, 2012 at 2:12 PM, SanskritFritz sanskritfr...@gmail.comwrote: I'm trying to put together a conky-colors.fish file. conky-colors has that new style of parameters: --lang=language and so on. I want to have fish completions for this style, but cannot figure out what to do. This is so far what I came up with: complete --command conky-colors --no-files --long-option 'lang=' --description 'Set language' complete --command conky-colors --no-files --condition '__fish_contains_opt lang=' --arguments 'bg de en et fr it pl pt ru es uk' --description 'Language' There are two problems with this: 1. fish automatically adds a space after completing --lang= , while conky-colors wants the parameter like --lang=en. This is inconvenient and problematic since there is no clear indication that one has to delete the extra space with backspace. 2. I cannot use --long-option 'lang=LANGUAGE' because after an alt-backspace the __fish_contains_opt does not recongnise the --lang= option, hence the arguments do not show up on tab. This is a minor annoyance only, since having the --lang= prompt would be sufficient, as the = clearly indicates that an argument is expected. What should I do to eliminate the extra space in point 1 ? Just for the record, I figured it out, I made things unnecessarily complicated. Here is the working line: complete --command conky-colors --no-files --long-option 'lang' --arguments 'bg de en et fr it pl pt ru es uk' --description 'Set language' The clue was that no '=' is necessary in the long option 'lang', and the --arguments had to be in the same complete command where the option is defined and fish beautifully prompts the missing '=' with all the arguments. Best regards SanskritFritz -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] complete --arguments is executed when completing options
On Fri, Apr 13, 2012 at 5:01 PM, SanskritFritz sanskritfr...@gmail.comwrote: On Fri, Apr 13, 2012 at 3:47 PM, Maxim Gonchar gma...@gmail.com wrote: And everything that should be done for it is to stop fish calling '-a' script when calling completion of 'cmd -'. Just like Sanskrit Fritz have written in first message. The problem is actually pretty serious, I just discovered, that nasty side effects could arise by executing -a unnecessarily, see this example: git log --prettypress tab git log --prettyfatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git So, upon completing git log --pretty, some git commands were issued, which is definitely not desired. Hmm, thinking further about this, I came to the following conclusion: when -a is used alone without -s or -l options in a complete definition, fish considers it an argument for all options and executes it so it can prompt all possible option=argument values. Makes sense actually. Question is, how can we prevent fish to execute the -a if it is intended as an argument for a command and not for an option. -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] complete --arguments is executed when completing options
Consider this foo.fish file: complete --command foo --no-files --short-option a --long-option 'an_example' --description 'example A' complete --command foo --no-files --arguments '(sleep 5s)' --description 'slept' Type in the shell foo - and press tab. 5 seconds pass, before we get the result. If I delete the second line from foo.fish, the result is instantanious. AFAIK, the --arguments should not be executed when fish is completing options for a command. Is this a serious bug or am I missing something? -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] (Was: Current state of fish in gitorius)
On Tue, Mar 27, 2012 at 9:10 AM, Maxim Gonchar gma...@gmail.com wrote: On Mon, 26 Mar 2012 11:51:03 +0400, SanskritFritz sanskritfr...@gmail.com wrote: Lets unite our efforts on your repo. I'll send merge requests whenever I updated any completions. Then you can send a merge request to the main repo. Does your repo contain any other changes to fish besides completions? It would be best to have a branch that contains only completion changes. If you don't want/have time to maintain the repo, I am willing to clone (I already did) and do this work on it myself. The goal would be to have a strong completions script base for easy merging into mainstream. My repository master branch should be the same as main fish branch, except functions and completions. There is one more branch with some changes in the code. This is perfect. I think that it worth to make separate repository for this purpose. Something like fish-completions. I can add new completions there and also update some outdated completions, like pacman. Can you maintain it? The problem that I'm newbie to the git and still have a lot of problems using it. Yes, I'm willing to maintain it. Well I am in the same situation with git (I'm used to svn), but this will be a good opportunity to learn :-) So, I'm going to clone your repo with the name fish-shell-completions, merge all completions I have tested and found stable. Finally when everyone thinks it is ok, I'll send a merge request to the official repo. I plan to do this on a regular basis. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] (Was: Current state of fish in gitorius)
Sorry for the change in the subject, I wanted to use a new thread, but did it only halfways :) On Tue, Mar 27, 2012 at 10:12 AM, SanskritFritz sanskritfr...@gmail.com wrote: On Tue, Mar 27, 2012 at 9:10 AM, Maxim Gonchar gma...@gmail.com wrote: On Mon, 26 Mar 2012 11:51:03 +0400, SanskritFritz sanskritfr...@gmail.com wrote: Lets unite our efforts on your repo. I'll send merge requests whenever I updated any completions. Then you can send a merge request to the main repo. Does your repo contain any other changes to fish besides completions? It would be best to have a branch that contains only completion changes. If you don't want/have time to maintain the repo, I am willing to clone (I already did) and do this work on it myself. The goal would be to have a strong completions script base for easy merging into mainstream. My repository master branch should be the same as main fish branch, except functions and completions. There is one more branch with some changes in the code. This is perfect. I think that it worth to make separate repository for this purpose. Something like fish-completions. I can add new completions there and also update some outdated completions, like pacman. Can you maintain it? The problem that I'm newbie to the git and still have a lot of problems using it. Yes, I'm willing to maintain it. Well I am in the same situation with git (I'm used to svn), but this will be a good opportunity to learn :-) So, I'm going to clone your repo with the name fish-shell-completions, merge all completions I have tested and found stable. Finally when everyone thinks it is ok, I'll send a merge request to the official repo. I plan to do this on a regular basis. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Thu, Mar 22, 2012 at 2:10 PM, Maxim Gonchar gma...@gmail.com wrote: On Tue, 20 Mar 2012 17:42:09 +0400, SanskritFritz sanskritfr...@gmail.com wrote: I would like to recap some of what we talked here long time ago. I wrote several completion scripts, and am still writing new ones. Also I can see several branches and clones scattered around on gitorius which contain useful and well written completions, especially this one: https://gitorious.org/~maxfl/fish-shell/maxfl-fish-shell I would like to see a new minor version of fish issued with all the fixes in the master branch, and all the new completions we can find. My question is, are completions now collected by someone somewhere? I am willing to help with this, collecting, testing and proofreading completions scripts. I think they are a huge selling point for fish. Current completions also show their age, pacman.fish for example is way deprecated. As far as I can see nobody does it. And it would be really good if someone could take it under the control. Agreed. Well, your repo seems to have the best completion collection I have found so far. Also I like the approach you took by moving many completions into a __fish_complete_* function, so that command aliases can be used easily. Lets unite our efforts on your repo. I'll send merge requests whenever I updated any completions. Then you can send a merge request to the main repo. Does your repo contain any other changes to fish besides completions? It would be best to have a branch that contains only completion changes. If you don't want/have time to maintain the repo, I am willing to clone (I already did) and do this work on it myself. The goal would be to have a strong completions script base for easy merging into mainstream. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] fish completions for --param=option format?
I'm trying to put together a conky-colors.fish file. conky-colors has that new style of parameters: --lang=language and so on. I want to have fish completions for this style, but cannot figure out what to do. This is so far what I came up with: complete --command conky-colors --no-files --long-option 'lang=' --description 'Set language' complete --command conky-colors --no-files --condition '__fish_contains_opt lang=' --arguments 'bg de en et fr it pl pt ru es uk' --description 'Language' There are two problems with this: 1. fish automatically adds a space after completing --lang= , while conky-colors wants the parameter like --lang=en. This is inconvenient and problematic since there is no clear indication that one has to delete the extra space with backspace. 2. I cannot use --long-option 'lang=LANGUAGE' because after an alt-backspace the __fish_contains_opt does not recongnise the --lang= option, hence the arguments do not show up on tab. This is a minor annoyance only, since having the --lang= prompt would be sufficient, as the = clearly indicates that an argument is expected. What should I do to eliminate the extra space in point 1 ? Best regards SanskritFritz -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
I would like to recap some of what we talked here long time ago. I wrote several completion scripts, and am still writing new ones. Also I can see several branches and clones scattered around on gitorius which contain useful and well written completions, especially this one: https://gitorious.org/~maxfl/fish-shell/maxfl-fish-shell I would like to see a new minor version of fish issued with all the fixes in the master branch, and all the new completions we can find. My question is, are completions now collected by someone somewhere? I am willing to help with this, collecting, testing and proofreading completions scripts. I think they are a huge selling point for fish. Current completions also show their age, pacman.fish for example is way deprecated. On Wed, Nov 24, 2010 at 2:28 AM, SanskritFritz sanskritfr...@gmail.com wrote: On Wed, Nov 24, 2010 at 2:18 AM, Philip Ganchev phil.ganc...@gmail.com wrote: Yes, Axel's list from a long time ago: http://fishshell.org/user_doc/index.html#todo Hmm, I've never seen that list so far. I personally like the part about new completions, I guess I can do something about that :) -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Error, am I compiling the right version
On Tue, Jan 31, 2012 at 1:49 PM, Jan Kanis jan.c...@jankanis.nl wrote: There being a changelog at all is one of the new features :). For the rest, mainly bugfixes and more completions. If you're using the benhoskings branch as tagged on gitorious there are some new features as well such as the functions builtin gaining a --copy option, but not any major changes. I see ridiculousfish doing lots of commits in his branch lately. Can anyone tell us what it is all about? On the IRC I got this: Day changed to 24 Jan 2012 15:46 SanskritFritz I see lots of activities on gitorius by a user named ridiculousfish. anyone knows what it is about? I get excited every time something moves in fish 23:12 matt123 SanskritFritz: Looks like it's becoming more C++y from some of the diffs 23:14 matt123 STL, const, smart pointers 23:15 matt123 but also some general bugfixes -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Error, am I compiling the right version
On Mon, Jan 30, 2012 at 5:30 PM, i...@whywouldwe.com i...@whywouldwe.com wrote: Hi I've got a new machine and need to install fish. I've downloaded the current master branch from gitorious but am getting this error when I run make ... gcc -g -O2 -std=c99 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-optimize-sibling-calls -Wall -DLOCALEDIR=\/usr/local/share/locale\ -DPREFIX=L\/usr/local\ -DDATADIR=L\/usr/local/share\ -DSYSCONFDIR=L\/usr/local/etc\ -std=c99 -c -o common.o common.c In file included from common.c:86: util.c: In function ‘q_realloc’: util.c:131: error: ‘ptrdiff_t’ undeclared (first use in this function) util.c:131: error: (Each undeclared identifier is reported only once util.c:131: error: for each function it appears in.) util.c:131: error: expected ‘;’ before ‘diff’ util.c:144: error: ‘diff’ undeclared (first use in this function) make: *** [common.o] Error 1 Is master the correct version to use? I have just successfully compiled the following clone on archlinux using gcc 4.6.2: git://gitorious.org/fish-shell/fish-shell.git I guess that is the master. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] please help: GNU Fish, key bindings---sorry to disturb you!
On Mon, Jan 9, 2012 at 8:02 AM, HTY hyil...@gmail.com wrote: I am new to Fish and have some problems adding some features to it. I am sorry to mail you knowing you are, in fact, not in the responsibility for technical support, but your email address is the only one I could find in fish's documentation. I wanted to do something like this: while pressed Alt(\e)+p, fish adds a |less under the cursor in the command line. So I wanted to bind Alt(\e)+g to something like |grep, but the command: bind \eg \|grep or anything I could think of did not work. Wish you could spare a time for it, please! You have to define a function like __fish_grep, similar to __fish_paginate in /usr/share/fish/functions/__fish_paginate.fish and bind it to Alt-G like this: bind \eg '__fish_grep' -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] please help: GNU Fish, key bindings---sorry to disturb you!
On Mon, Jan 9, 2012 at 10:32 PM, Stestagg stest...@gmail.com wrote: bind \cp commandline -a '|less' Rather bind \eg commandline -a '|grep' -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Editing long function
On Sun, Nov 6, 2011 at 12:03 AM, gmaxfl gma...@gmail.com wrote: when I want to edit a long function, for example 'funced help' part of the function, the function does not fit the screen and I can not find any way to scroll to the beginning of the function. Do anybody know how to do it? Or can it be fixed? In such case just edit the file /usr/share/fish/functions/help.fish (or better copy it first to ~/.config/fish/functions/ and edit there), there is no need to use funced. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] hostname
On Wed, Nov 2, 2011 at 4:38 PM, Sebastian Thörn elefantun...@p0int3r.sewrote: i get this when i start fish: *fish: Unknown command “hostname”* */usr/share/fish/functions/fish_prompt.fish (line 6): hostname|cut -d . -f 1* im running on archlinux pacman -S inetutils please read http://www.archlinux.org/news/hostname-utility-moved-from-net-tools-to-inetutils/ -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fishshell.org
On Thu, Oct 20, 2011 at 9:02 AM, Martin Bähr mba...@email.archlab.tuwien.ac.at wrote: of course the domain is of no use unless someone can fix the dns, but do we want to let it expire and risk it getting picked up by squatters, or do we want to try to get axel to transfer the domain so that someone else can manage it? Is that really a question? :D -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish out of date
On Fri, Aug 26, 2011 at 4:13 PM, jan vaclavik vaclavik.j...@gmail.comwrote: I REALLY like fish but it wasen't touch much since March 2009.I don't feel safe using 2 years old shell. Use the newest git head, it is stable: http://gitorious.org/fish-shell Should i be concerned? No. As you said, fish is great, so I don't see any problems. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish out of date
On Mon, Aug 29, 2011 at 12:06 PM, Martin Bähr mba...@email.archlab.tuwien.ac.at wrote: i think it is about time some kind of release is made to show the world that fish is alive and attract some new attention to it. maybe start with a beta. then we can make some announcements and ask distributions to update their packages. AFAIR there was already some of talk here about issuing a new version. It would be nice to give fish a boost. I already maintain a fish-git package for Archlinux in the AUR, which is fairly busy, so people are interested, yes. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Bug fix: Fish may hang in Linux virtual console
On Sun, Jul 24, 2011 at 10:09 PM, Adam Cozzette acozze...@cs.hmc.edu wrote: $ uname -a Linux anconia 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 15:31:04 CEST 2011 i686 Intel(R) Atom(TM) CPU N280 @ 1.66GHz GenuineIntel GNU/Linux Thanks, fellow Archlinux user! -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Axel is not yet lost
On Wed, Jul 13, 2011 at 12:48 PM, Martin Bähr mba...@email.archlab.tuwien.ac.at wrote: hi, axel just posted the following on LWN: after i told him that we miss him: I got a bit burned out, but I hope to get the energy and enthusiasm back and hopefully I can rejoin the community. Good to see him being active even if it is not with fish. My wife says she understands Axel, she says when a project is basically *done* in a way that everything planned is actually manifested (even if it is not bug free), there is basically nothing to do anymore, so she loses interest in a very rapid pace. This was a real problem for her at math exams, when a task was basically solved, but not to its full extent. I also find it interesting that in his previous comment Axel links to fishshell.com so he is obviously aware of the changes happened this year: http://lwn.net/Articles/450975/ -- 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
On Sat, Jul 9, 2011 at 10:11 AM, i...@whywouldwe.com i...@whywouldwe.comwrote: An ascii art prompt would be very cool user@host:/dir/dir2 (* user@host:/dir/dir2 ~* user@host:/dir/dir2 @* Cool it may be, just please don't make it default... ;-) -- 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
[Fish-users] Axel on Github (Was: Fish Shell adoption / random comments)
On Fri, Jul 8, 2011 at 12:31 AM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: ** Here is the link: https://github.com/liljencrantz He goes by his last name lijencrantz This is incredible, he is very much active, there is even a commit from today. I really wonder what could have happened, that he abandoned the fish project in such a way. This looks like he is pissed off by something. Or there are reasons beyond my understanding, after all he is probably a genius. -- 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
Re: [Fish-users] moving forward, what needs to be done (was: Axel (Was: Fish Shell adoption)
On Fri, Jul 8, 2011 at 5:27 PM, David Frascone d...@frascone.com wrote: On Fri, Jul 8, 2011 at 7:43 AM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: 4)There is some development being done on github but the site does not currently point there Please correct false statements... I believe the current repositories are on gitorious. True, my mistake. http://gitorious.org/fish-shell -- 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
Re: [Fish-users] scp remote tab completion
On Thu, Jul 7, 2011 at 4:09 AM, i...@whywouldwe.com i...@whywouldwe.comwrote: This is slightly related to the other thread currently being discussed 'fish and scp wildcards', but different enought to warrant its own thread. I recall about 8 months ago on this list someone said that zsh had remote tab completion when doing scp, eg scp some_host_from_ssh_config:~/dir/fitab would complete to scp some_host_from_ssh_config:~/dir/filename.txt This would be a fantastic feature to add and fits perfectly with fish's tab complete everything persona. How difficult is it to implement? I think it is not difficult, and requires no changes in fish itself, because this can be implemented with the current means of completion. Check out ssh.fish as an example. -- 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
Re: [Fish-users] fish and scp wildcards
On Wed, Jul 6, 2011 at 11:12 PM, Sebastian Thörn elefantun...@p0int3r.sewrote: Hi guys and gals, i wonder if there is any chance to implement wildcards (*) into the functionality of fish when using scp? this works in bash: $ scp usern...@host.com:~/Whatever/*.pdf . This command will transfer all files in ~/Whatever/ ending with .pdf to the working directory. If i run the same command in fish i get the following: ~ scp un...@host.com:~/Whatever/*.pdf . fish: Warning: No match for wildcard “un...@host.com:~/Whatever/*.pdf”. The command will not be executed. scp un...@host.com:~/Whatever/*.pdf . ^ I asked around in #fish and SanskritFritz and adisbladis explained to me it's because bash is checking my files on the remote site or something. (i didn't quit understand) My question is: Would this be possible to implement in fish? Br Sebastian Thör Here is the transcript of that conversation. 10:12 cHarNe2 hi guys, im having issues with scp and fish 10:12 cHarNe2 it wont exept my *, same cmd works fine in bash :S 10:18 SanskritFritz cHarNe2: provide an example pls 10:20 cHarNe2 scp usern...@host.com:~/backup-mac/backup-mac/skrivbord/De* . 10:21 SanskritFritz cHarNe2: this works in bash? wow 10:21 cHarNe2 why wouldn't it? 10:21 cHarNe2 iv been doing in that way for years :P 10:21 SanskritFritz because that needs bash to look into the server over an ssh connection 10:22 SanskritFritz didnt know bash is able to do that 10:22 SanskritFritz are you sure ~/backup-mac/backup-mac/skrivbord/De* is read from the remote location by bash? 10:22 cHarNe2 you sure? 10:23 cHarNe2 no i just think fish is messing with me 10:23 adisbladis cHarNe2: Thats not supposed to work.. 10:24 cHarNe2 works in sh aswell 10:24 adisbladis cHarNe2: sh probably is bash 10:24 cHarNe2 ok 10:25 SanskritFritz what I suspect, bash is globbing the files locally 10:26 adisbladis SanskritFritz: Sounds reasonable : 10:27 cHarNe2 so it's not possible to use fish and scp with * ? 10:27 adisbladis cHarNe2: Sure, scp /path/to/somewhere/* username@host: 10:28 adisbladis cHarNe2: But I have a feeling that your command does not work as intended in bash either.. 10:28 cHarNe2 adisbladis: yes, but not * from a host? 10:28 cHarNe2 intended? 10:28 adisbladis cHarNe2: No, and like SanskritFritz said, its probably just globbing your local files 10:28 cHarNe2 ok 10:28 SanskritFritz cHarNe2: that works if the local files are the same as on the server, and you want to update them 10:28 adisbladis So if you add a file to the server end you will not be able to scp it over 10:29 cHarNe2 ok 10:29 SanskritFritz exactly 10:31 cHarNe2 and it's not likley to be implemented? 10:35 SanskritFritz cHarNe2: in the near future nothing is likely to get implemented, but who knows. we have some activity on the mailing list now, development could start over anytime again 10:35 cHarNe2 okay, i see -- 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
Re: [Fish-users] Fish Shell adoption / random comments
On Mon, Jul 4, 2011 at 4:54 PM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: It looks like there has been some adoption from the Arch Linux people but not much elsewhere, are there troubles as default shell? If so is this hard to circumvent? I wouldnt recommend using fish as default shell even in Archlinux, although it is certainly possible, read here: http://aur.archlinux.org/packages.php?ID=43684 Comment by esodaxhttp://aur.archlinux.org/account.php?Action=AccountInfoID=4608 : *Haven't yet stumbled upon any unexpected login-issues using fish. The biggest problem is that some commands expect you to be able to source standard shell scripts or output. e.g from 'dircolors', 'gpg-agent' and others... luckily most of them is just to export somevar=someval and can quite easy be converted to fish syntax. You can get to a jump start by browsing through my fish config files repo here: https://github.com/esodax/fishystuff Not much in there really, but feel free to extract what you want, or just to get an overall idea on how to solve 'source this-and-that' problems you might encounter yourself. Also, my way might not be the best way, but it works for me at least :) For example, include/colors.fish and functions/run_gpg-agent.fish resolves the problem I mentioned above with dircolors and the gpg-agent.* Most linux startup and whatnot scripts are written in bash, and yes there is a shebang line most of the times, nevertheless I'd expect some glitches when bash is not the default shell. I do use fish in a way that I set it as default in tmux and Xterm. -- 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
Re: [Fish-users] Stupid PID question
On Wed, Feb 23, 2011 at 4:19 PM, Stestagg stest...@gmail.com wrote: Look up the ssh proxy command option. something like ProxyCommand ssh user@gateway nc %h 22 in your ssh config file should allow ssh and scp to transparently work. Ste On 23 Feb 2011 14:48, David Frascone d...@frascone.com wrote: My office just started doing DMZ nonsense, so I have to bounce through an intermediary host to grab a file, sort of like this: ssh -f -N -q -L :dmz_machine_ip:22 user@intermediary_machine_ip scp -P transformers.avi user@localhost:. So, my question is: How can I grab the PID of that first ssh process, so I can kill it (and drop the tunnel) after the scp? also, the killall command could help here? -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] [ fish-Bugs-3115560 ] last history element missing after su
On Fri, Jan 28, 2011 at 10:46 AM, Martin Bähr mba...@email.archlab.tuwien.ac.at wrote: also, does it make a difference if you use su; vs su -; Using 'su -' gives me a completely different history, i think it is from directly logging into root from a console long time ago. ah, not i think i see what your problem is: you are talking about the history while in the su shell, not after coming back from su. Aha, I need to improve my communication skills. anyways, i think you are setting yourself up for trouble if you want to share the history between your user and root. Well, for me, this is one of the most outstanding features in fish. When I saw this, I was immediately sold :) the problem is that for each user you get a seperate fishd process, and the way you use it you somehow mangle the same history with two fishd processes. i'd worry about unintended sideeffects, especially with root being involved. I don't mind that, the benefits surpass those risks big time for me. I'm the only fish user on our box, my wife doesn't even want to know how to open the terminal. The history in fish is one of the most important information sources for me, I even perform extra offsite incremental backup for it. I use it with the quicksearch function all the time. It was a real relief to switch to fish after using ctrl-r in bash. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] [ fish-Bugs-3115560 ] last history element missing after su
On Thu, Jan 27, 2011 at 2:28 PM, Christopher Nilsson christop...@otherchirps.net wrote: I've had a go at recreating this problem, but haven't had any luck so far. :( On my (ubuntu) system, I'm seeing all history items correctly. That is, none are being skipped as you're seeing. So far I've tried the official 1.23.1, straight out of the ubuntu deb repos, and a copy of fish rebuilt out of the gitorious source. When I get a chance (hopefully next few days...), I'll see if I can grab a copy of Arch, and try and match your env more closely. Has anyone else had better luck seeing this? David Frascone reported having the same problem: I've managed to reproduce once or twice. It is very annoying when it happens. What you are saying, made me think, maybe some settings are to blame somewhere? I use Archlinux exclusively, the official repo holds the last stable 1.23.1 version, and I use the git head. Both versions have that problem. Even on a fresh install in qemu, the problem is present. I'll setup another distro in qemu, see if that is better. Thanks for your help, really appreciate it. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] [ fish-Bugs-3115560 ] last history element missing after su
-- Forwarded message -- From: SourceForge.net nore...@sourceforge.net Date: Mon, Nov 22, 2010 at 3:52 PM Subject: [ fish-Bugs-3115560 ] last history element missing after su To: nore...@sourceforge.net Bugs item #3115560, was opened at 2010-11-22 15:52 Message generated for change (Tracker Item Submitted) made by sanskritfritz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=741961aid=3115560group_id=138874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface (example) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: SanskritFritz (sanskritfritz) Assigned to: Nobody/Anonymous (nobody) Summary: last history element missing after su Initial Comment: Let's say this is my fish history: cd ~builds/trigger pwd bauerbill -S trigger su After su I press up and expect the last history element to appear (bauerbill -S trigger), but instead, the one before the last shows up (pwd). Is there any hope that someone will dive into that problem? I looked into the source code, but frankly, it was too much for me. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] autocompletion for Fossil (SCM)
On Thu, Dec 23, 2010 at 9:29 AM, Gour g...@atmarama.net wrote: SanskritFritz No, there is no support for fossil now. But creating a SanskritFritz fossil.fish file should not be difficult, especially if SanskritFritz there is a man page for fossil, using the SanskritFritz make_completions script. And what if there is no man page, only 'fossil help' ? Then you pick an existing script as template, read one page in the documentation (when the site is up again) and do it by hand. It is really easy, once you picked up the philosophy behind it. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] autocompletion for Fossil (SCM)
On Wed, Dec 22, 2010 at 9:44 PM, Gour g...@atmarama.net wrote: Today I'm using Fossil and wonder if there is some support for it in fish shell? No, there is no support for fossil now. But creating a fossil.fish file should not be difficult, especially if there is a man page for fossil, using the make_completions script. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] http://fishshell.org/ down
On Tue, Dec 21, 2010 at 9:30 AM, Martin Jernberg cs_bit...@msn.com wrote: same here -- Same from here. On Tue, Dec 21, 2010 at 07:26, i...@whywouldwe.com i...@whywouldwe.comwrote: Currently it's displaying 'It works' Heh, you should be happy that it works ;-) -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] [ fish-Bugs-3115560 ] last history element missing after su
On Mon, Nov 22, 2010 at 3:55 PM, SanskritFritz sanskritfr...@gmail.comwrote: I've read a proposal about using the sf.net bug tracker. Here is a real example then (it is an actual bug report), see if it is usable for you: -- Forwarded message -- From: SourceForge.net nore...@sourceforge.net Date: Mon, Nov 22, 2010 at 3:52 PM Subject: [ fish-Bugs-3115560 ] last history element missing after su To: nore...@sourceforge.net Bugs item #3115560, was opened at 2010-11-22 15:52 Message generated for change (Tracker Item Submitted) made by sanskritfritz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=741961aid=3115560group_id=138874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface (example) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: SanskritFritz (sanskritfritz) Assigned to: Nobody/Anonymous (nobody) Summary: last history element missing after su Initial Comment: Let's say this is my fish history: cd ~builds/trigger pwd bauerbill -S trigger su After su I press up and expect the last history element to appear (bauerbill -S trigger), but instead, the one before the last shows up (pwd). Don't forget about me guys :) this is a classic bump. -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Sharing completion scripts
On Wed, Nov 24, 2010 at 7:11 PM, SanskritFritz sanskritfr...@gmail.comwrote: My question is, do you really want to include completions for such very rare scripts like shoutcast-search as well? I have another question as well: if you check ln.fish for example, you'll see that some options that have arguments are followed by a dummy argument (ex --target-directory=DIRECTORY), which must be backspaced when chosen. Is that desirable? I tend to think it is not, the user should know that an argument is needed, and the description could maybe include a hint? -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Use of alt + arrow keys for dir history and forward/backward word
Thank you for that detailed explanation! My comments are below. On Thu, Nov 25, 2010 at 7:27 PM, James Bowlin bow...@mindspring.com wrote: On Thu, Nov 25, 2010 at 02:33 PM, SanskritFritz said: I have fought with this problem for a while, but went the other direction (disabling the alt-left/right keys in the console), can you maybe help me with this? https://bbs.archlinux.org/viewtopic.php?id=101863 Note A: I encourage you to switch to using ctrl-left/right for Fish and keep alt-left/right reserved for switching vconsoles. But either way, you will need to use loadkeys to get $meta + left/right working with Fish in the vconsoles. What I actually would like the most is that ctrl-left/right would jump on words, and alt-left/right would traverse the history in fish. I dont care about console switching, i have Alt-F1/F2 etc for that. Step 2: Edit custom-keymap 2.a: Change every instance of Decr_Console to Meta_b 2.b: Change every instance of Incr_Console to Meta_f This way alt-left/right works as word jump, but not as history back/forward (when the fish command line is empty). I care more about the latter, do you know how to get that work? -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Use of alt + arrow keys for dir history and forward/backward word
On Fri, Nov 26, 2010 at 2:21 AM, James Bowlin bow...@mindspring.com wrote: On Fri, Nov 26, 2010 at 12:46 AM, SanskritFritz said: I fully got now what you are proposing. This actually introduces a problem with other program which might act on alt-f or alt-b. I don't think this is a big problem. Alt-f and Alt-b will still work. In addition Alt/Ctrl + left/right will also do the same thing as Alt-f and Alt-b. True. Also, in irssi for example the alt-left/right are important key combos, and this way they get lost this way. I don't think that is true. I think they were already lost in the vconsoles anyway. If they were working in irssi in the vconsoles and my suggestion broke them PLMK. Remember OOTB Alt-left/right switch vconsoles and don't get passed to shells or programs. I wouldn't be surprised if my solution doesn't also fix alt-left/right in irssi but I don't think I can be blamed for breaking them. I'm in no way blaming you for anything, lol. And you are absolutely right. I didnt mean, that this solution of yours broke the alt-left/right keys, because it is already broken. I'm just trying to find a solution where the console doesnt swallow the important key combo. Peace, James QFT :) Lastly, two things: 1. sorry for hijacking the thread, and 2. thank you for your valuable help, I really appreciate it. If I find a solution that allows us to use fish or irssi or anything else without modification, I'll post it here. Thanks again. -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Wed, Nov 24, 2010 at 2:18 AM, Philip Ganchev phil.ganc...@gmail.comwrote: Yes, Axel's list from a long time ago: http://fishshell.org/user_doc/index.html#todo Hmm, I've never seen that list so far. I personally like the part about new completions, I guess I can do something about that :) -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Mon, Nov 22, 2010 at 2:03 PM, Christopher Nilsson christop...@otherchirps.net wrote: On 22 November 2010 23:06, SanskritFritz sanskritfr...@gmail.com wrote: On Mon, Nov 22, 2010 at 12:48 PM, Christopher Nilsson christop...@otherchirps.net wrote: There's now a 'fish-next' branch available to pool anything new for test driving with the rest. I guess if this fills with changes people want, they can be cherry-picked across when everyone is happy with them, and asks for them to be. I don't quite see, how you can cherry-pick some changes when all changes are in the one 'fish-next' branch. Linux recommends a separate branch for every new feature, merging one branch into the master should be painless, again, according to Linus (dont we love his talk about git at Google? :) ) Yeah, cherry-pick was probably the wrong term to use. This is probably more the 'unstable' branch, for changes from people's separate branches to be mixed in with anything else that's been added. Once we see the changes are all playing nicely, then we can just merge them at that point to master. This is just a suggestion though. In the absence of a BDFL, I figure asking the list is the next best thing. There aren't many changes. But for those that do come through, I'm just trying to feel out a way to add changes carefully, that everyone will be happy to live with. :) That sounds great, I think. My main concern is that you guys keep the master branch stable :) Maybe I will set up another package, named fish-git-next ;-) Thanks for all the hard work, fish is one of the best shells around, if not the best! -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Fwd: [ fish-Bugs-3115560 ] last history element missing after su
I've read a proposal about using the sf.net bug tracker. Here is a real example then (it is an actual bug report), see if it is usable for you: -- Forwarded message -- From: SourceForge.net nore...@sourceforge.net Date: Mon, Nov 22, 2010 at 3:52 PM Subject: [ fish-Bugs-3115560 ] last history element missing after su To: nore...@sourceforge.net Bugs item #3115560, was opened at 2010-11-22 15:52 Message generated for change (Tracker Item Submitted) made by sanskritfritz You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=741961aid=3115560group_id=138874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface (example) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: SanskritFritz (sanskritfritz) Assigned to: Nobody/Anonymous (nobody) Summary: last history element missing after su Initial Comment: Let's say this is my fish history: cd ~builds/trigger pwd bauerbill -S trigger su After su I press up and expect the last history element to appear (bauerbill -S trigger), but instead, the one before the last shows up (pwd). -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=741961aid=3115560group_id=138874 -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Sharing completion scripts
I have created some completion scripts, some for broad audience (ln.fish), some for some special programs (like duply.fish). Is there an accepted way to submit them (merge request?), and are there some guidelines, about what kind of completions should be submitted? I rather doubt that shoutcast-search.fish would be a candidate for merging into fish ;-), but ln.fish is definitely missing from the master. Anyway, here are my scripts: https://github.com/SanskritFritz/fish_completions -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Thu, Nov 18, 2010 at 11:09 AM, Christopher Nilsson christop...@otherchirps.net wrote: Yep -- Most of the changes that have gone in lately have been bug fixes, that folks have had living in personal clone repositories for a fairly long while. But a more central next branch sounds like a good idea. Somewhere to collect all the different changes together from all the other repos out there, so we all know what needs testing before merging into main. Or are the git tags good enough for now, given the traffic of incoming changes isn't enormous (yet ;) )? eg. the official tag is pointing to the 1.23.1 tag, so anything added since then needs checking. What do people think, any opinions on how it should be done? From a packagers viewpoint I rather support the stable branch idea, this way the package script can stay always the same, and one should just compile the latest head. But on the other hand, if the official simply points to the latest stable commit, that would have almost the same effect (just almost, because archlinux' packager utility includes automatic means to determine the latest commit from a git repo). -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Thu, Nov 18, 2010 at 3:47 PM, Grissiom chaos.pro...@gmail.com wrote: I think -without-xsel is good for distros. Because the pkg manager of that distro can suggest to install xsel together with fish, which is more cleaner way IMHO. There is such thing as 'optional dependencies' in archlinux. My question is, if I compile fish with xsel enabled, will xsel be mandatory for fish then? Or can fish run just fine without xsel installed? BTW, is it ready for a new release? I'm not competent to fire the release but I'm just curious about it. I think a new release could attract more eyes and thus bring more users/devs. I agree with that. A press statement would be good as well, where all the news are clearly stated. Many in the archlinux community have concerns about the future of fish. But we love fish! -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Thu, Nov 18, 2010 at 6:32 PM, Rob Farmer rfar...@predatorlabs.netwrote: I can't speak to any changes in the git versions, but for the latest release, xsel doesn't affect compiling the main program. The makefile just extracts, builds, and installs the bundled copy unless --without-xsel is passed to configure. You can see this by looking at the generated config.h - it never refers to xsel. From a packaging point of view, I would recommend always using --without-xsel and setting it as an optional dependency - people might want to install xsel but not fish or use the latest version (the bundled copy is out of date), in which case you can have conflicting packages. There's really no reason for it to be bundled. Ah, so it bundles xsel, This is of course not desired in a distro package. Thanks for clarifying this. So then, may I announce the freshly baked fish-git package for Archlinux: http://aur.archlinux.org/packages.php?ID=43684 -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Current state of fish in gitorius
Hi I'm a big fan of fish, and plan to create an Archlinux package from the gitorius head. My question is, is the current head of the gitorius repo considered stable enough for everyday use? Thought I ask before I install it on my linux :D thanks -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Current state of fish in gitorius
On Wed, Nov 17, 2010 at 3:17 PM, David Frascone d...@frascone.com wrote: On Wed, Nov 17, 2010 at 6:46 AM, SanskritFritz sanskritfr...@gmail.comwrote: Hi I'm a big fan of fish, and plan to create an Archlinux package from the gitorius head. My question is, is the current head of the gitorius repo considered stable enough for everyday use? Thought I ask before I install it on my linux :D That's a good question. Most of the changes that have gone into the head have been bug fixes. The people on this list use fish for daily work, and the head is the result of people running into little issues. I don't know of any real feature work that has recently been done, so, I'd say, yes, the head is very stable. In the future, we (people who contribute to fish), should probably consider making development branches, if we decide on features that we would like to add. And, once this version has been vetted a bit, it wouldn't hurt to kick the version up a notch. -Dave That sounds great. Just to make sure, is this the correct way to compile fish? autoconf ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish --without-xsel make make install I'm not sure about autoconf, are there some switches needed? -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users