Strip users with leading underscores from ssh completions

This commit is contained in:
ridiculousfish 2014-08-12 14:46:59 -07:00
parent 3f526698ab
commit a3a11c2e0c

View file

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