Use sgrep instead of grep in ssh completion

This commit is contained in:
ridiculousfish 2014-08-13 01:06:15 -07:00
parent a3a11c2e0c
commit fe68d30be9

View file

@ -15,7 +15,7 @@ complete -x -c ssh -d Hostname -a "
"
complete -x -c ssh -d User -a "
(__fish_print_users | grep -v '^_')@
(__fish_print_users | sgrep -v '^_')@
"
complete -c ssh --description "Command to run" -x -a '(__fish_complete_subcommand --fcs-skip=2)'