Re: [Fish-users] Adding functions to share/functions: acceptability?
Le vendredi 08 décembre 2017 à 21:57 +, Michael Stillwell a écrit : > On Fri, Dec 8, 2017 at 9:41 PM, David Adam> wrote: > > > > 3. which directory should I place such functions in, on an > > > installed > > > fish instance, to test them? ~/.config/fish/functions? > > > > That's the easiest way! > > You've probably discovered this, but sometimes fish doesn't pick up > the changes to a script immediately; you can force fish to reprocess > the file via e.g. > > . ~/.config/fish/functions/foo.fish > I did notice that; thanks for the tip. And thanks, David, for your answers. > > > > > Michael -- David Guyot Administrateur système / Sysadmin Europe Camions Interactive / Stockway Moulin Collot F-88500 Ambacourt Tél : +33 (0)3 29 30 47 85 signature.asc Description: This is a digitally signed message part -- 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] Just did a 'dnf update' for Fedora 25 and now get this for any command
On Mon, 11 Dec 2017, John Chludzinski wrote: > $ fish --version > > fish, version 2.6.0 > fish: argparse: command not found... > /usr/share/fish/functions/prompt_pwd.fish (line 2): > argparse -n prompt_pwd --max-args=0 $options -- $argv > ^ > in function “prompt_pwd” > called on line 6 of file /usr/share/fish/functions/fish_prompt.fish > > in command substitution > called on line 4 of file /usr/share/fish/functions/fish_prompt.fish > > in function “fish_prompt” > called on standard input > > in command substitution > called on standard input You are still running old versions of fish in those windows; either restart your session or run `exec fish` to pick up the new version. David Adam zanc...@ucc.gu.uwa.edu.au-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Just did a 'dnf update' for Fedora 25 and now get this for any command
You need to restart all your interactive shells. Your old shell processes don't know about the new `argparse` builtin. Just doing `exec fish` should be sufficient. On Mon, Dec 11, 2017 at 6:59 AM, John Chludzinski < john.chludzin...@gmail.com> wrote: > $ fish --version > > fish, version 2.6.0 > fish: argparse: command not found... > /usr/share/fish/functions/prompt_pwd.fish (line 2): > argparse -n prompt_pwd --max-args=0 $options -- $argv > ^ > in function “prompt_pwd” > called on line 6 of file /usr/share/fish/functions/fish_prompt.fish > > in command substitution > called on line 4 of file /usr/share/fish/functions/fish_prompt.fish > > in function “fish_prompt” > called on standard input > > in command substitution > called on standard input > > > > -- > 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 > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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
[Fish-users] Just did a 'dnf update' for Fedora 25 and now get this for any command
$ fish --version fish, version 2.6.0 fish: argparse: command not found... /usr/share/fish/functions/prompt_pwd.fish (line 2): argparse -n prompt_pwd --max-args=0 $options -- $argv ^ in function “prompt_pwd” called on line 6 of file /usr/share/fish/functions/fish_prompt.fish in command substitution called on line 4 of file /usr/share/fish/functions/fish_prompt.fish in function “fish_prompt” called on standard input in command substitution called on standard input -- 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] Just did a 'dnf update' for Fedora 25 and now get this for any command
Mea culpa. Forgot to reboot after update. That's what comes from rushing. Sent from my T-Mobile 4G LTE Device Original message From: Kurtis RaderDate: 12/11/17 10:09 AM (GMT-05:00) To: John Chludzinski Cc: fish-users@lists.sourceforge.net Subject: Re: [Fish-users] Just did a 'dnf update' for Fedora 25 and now get this for any command You need to restart all your interactive shells. Your old shell processes don't know about the new `argparse` builtin. Just doing `exec fish` should be sufficient. On Mon, Dec 11, 2017 at 6:59 AM, John Chludzinski wrote: $ fish --version fish, version 2.6.0fish: argparse: command not found.../usr/share/fish/functions/prompt_pwd.fish (line 2): argparse -n prompt_pwd --max-args=0 $options -- $argv ^in function “prompt_pwd” called on line 6 of file /usr/share/fish/functions/fish_prompt.fish in command substitution called on line 4 of file /usr/share/fish/functions/fish_prompt.fish in function “fish_prompt” called on standard input in command substitution called on standard input -- 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 -- Kurtis RaderCaretaker of the exceptional canines Junior and Hank -- 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