diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-09-09 20:55:04 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-09-09 20:55:04 +0200 |
commit | b85a8bbbfed56f603dca5d6da85858f9c973b669 (patch) | |
tree | aaca0722b25cff9d5e2ea5b46ad6e7dc59d9ec6d /share/completions/chsh.fish | |
parent | 925f4517739ed564edcac6dd5ed29c2835461da9 (diff) |
Rename sgrep to __fish_sgrep
Makes it harder to cause issues with aliases, see fish-shell#2245
Diffstat (limited to 'share/completions/chsh.fish')
-rw-r--r-- | share/completions/chsh.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/chsh.fish b/share/completions/chsh.fish index 3cc23857..232513ec 100644 --- a/share/completions/chsh.fish +++ b/share/completions/chsh.fish @@ -3,7 +3,7 @@ # # This grep tries to match nonempty lines that do not start with hash -complete -c chsh -s s -l shell -x -a "(sgrep '^[^#]' /etc/shells)" -d "Specify your login shell" +complete -c chsh -s s -l shell -x -a "( __fish_sgrep '^[^#]' /etc/shells)" -d "Specify your login shell" complete -c chsh -s u -l help -d "Display help and exit" complete -c chsh -s v -l version -d "Display version and exit" complete -x -c chsh -a "(__fish_complete_users)" |