line of comment for ssh-host
This commit is contained in:
parent
3b68cfac93
commit
ceacff300d
|
@ -9,6 +9,7 @@ ssh() {
|
||||||
# exit
|
# exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Use fzf to find all your configured ssh connection
|
||||||
ssh-host() {
|
ssh-host() {
|
||||||
ssh $(cat "$HOME/.ssh/config" "$HOME/.ssh/conf.d/individual_user" \
|
ssh $(cat "$HOME/.ssh/config" "$HOME/.ssh/conf.d/individual_user" \
|
||||||
| awk '$1 == "Host" && $2 != "*" {print $2}' | fzf --reverse)
|
| awk '$1 == "Host" && $2 != "*" {print $2}' | fzf --reverse)
|
||||||
|
|
Loading…
Reference in New Issue