mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Strip users with leading underscores from ssh completions
This commit is contained in:
@@ -15,7 +15,7 @@ complete -x -c ssh -d Hostname -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)'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user