#!/bin/sh 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