diff --git a/bash/.bash_functions b/bash/.bash_functions index fae1b54..4b06b3a 100644 --- a/bash/.bash_functions +++ b/bash/.bash_functions @@ -9,6 +9,10 @@ ssh() { # exit } +ssh-host() { + ssh $(awk '$1 == "Host" && $2 != "*" {print $2}' "$HOME/.ssh/conf.d/individual_user" | fzf --reverse) +} + # Creates a new directory and immediately changes into it mkcd() { mkdir -p "$1" && cd "$1"