Skip to content

Commit 96faee7

Browse files
committed
ghostty config
1 parent 2b3b424 commit 96faee7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

shrc.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ add_to_path_start "/opt/homebrew/bin"
3939

4040
add_to_path_start "$HOME/.bin"
4141

42+
# Ghostty terminfo fallback for remote machines without it
43+
if [ "$TERM" = "xterm-ghostty" ] && ! infocmp xterm-ghostty >/dev/null 2>&1; then
44+
export TERM=xterm-256color
45+
fi
46+
4247
# aliases
4348
alias gl='git log --date=short --pretty=format:"%C(124)%ad %C(24)%h %C(34)%an %C(252)%s%C(178)%d" --stat'
4449
alias gsign='git commit -C HEAD -S -s --amend'

0 commit comments

Comments
 (0)