Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
the host keyword in ssh/.config is case insensitive
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
  • Loading branch information
farmergreg authored and ridiculousfish committed Apr 4, 2013
1 parent db0659a commit 2626b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/functions/__fish_print_hostnames.fish
Expand Up @@ -17,7 +17,7 @@ function __fish_print_hostnames -d "Print a list of known hostnames"

# Print hosts from ssh configuration file
if [ -e ~/.ssh/config ]
sgrep '^ *Host' ~/.ssh/config | grep -v '[*?]' | cut -d ' ' -f 2
sgrep -i '^ *host' ~/.ssh/config | grep -v '[*?]' | cut -d ' ' -f 2
end
end

0 comments on commit 2626b83

Please sign in to comment.