Skip to content

Commit 4b3a031

Browse files
authored
terminal-helper: add support for ghostty (#56)
1 parent c10aed5 commit 4b3a031

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/terminal-helper

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ declare -A terminals=(
5656
["st"]="st $cmd"
5757
["foot"]="foot $cmd"
5858
["rio"]="rio -e $cmd"
59+
["ghostty"]="ghostty -e $cmd"
5960
)
60-
declare -a term_order=("alacritty" "kitty" "ptyxis" "konsole" "kgx" "gnome-terminal" "xfce4-terminal" "lxterminal" "xterm" "st" "foot" "rio")
61+
declare -a term_order=("alacritty" "kitty" "ptyxis" "konsole" "kgx" "gnome-terminal" "xfce4-terminal" "lxterminal" "xterm" "st" "foot" "rio" "ghostty")
6162

6263
if [ -z "$terminal" ] || ! command -v "$terminal" &> /dev/null; then
6364
for entry in ${term_order[@]}; do

0 commit comments

Comments
 (0)