fixes fuzzel ssh script

This commit is contained in:
Dennis Schoepf 2025-11-26 00:52:17 +01:00
parent 9fe5d5ac1e
commit 5aec5313c5
2 changed files with 4 additions and 2 deletions

View file

@ -3,4 +3,6 @@
fish_executable="/run/current-system/sw/bin/fish"
selected=$(cat ~/.ssh/config | grep "Host " | cut -d " " -f 2 | sort | tail -n +2 | fuzzel --dmenu --prompt "Connect to: ")
if [ "$selected" != "" ]; then
ghostty -e "$fish_executable" -c "ssh $selected"
fi