diff --git a/functions/fssh.fish b/functions/fssh.fish new file mode 100644 index 0000000..f92e315 --- /dev/null +++ b/functions/fssh.fish @@ -0,0 +1,3 @@ +function fssh + ssh "$(rg '^Host\b' $HOME/.ssh/config | awk '{print $2}' | fzf)" +end diff --git a/functions/tools.fish b/functions/tools.fish index aa76f7c..9d69da1 100644 --- a/functions/tools.fish +++ b/functions/tools.fish @@ -8,6 +8,7 @@ function tools echo "Tools" toolprint red "music (ncmpcpp)" "MPD client" toolprint red "backup" "Run borg backup" + toolprint red "fssh" "FZF ssh" toolprint red "ouch" "Archive manager" toolprint red "mood" "Mood tracker" toolprint red "dnsleaktest" "DNS leak test"