1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: add Ghostty

This commit is contained in:
Ryan Cao 2024-02-16 00:02:19 +08:00
parent c6c59dd552
commit ff6c4c5d16
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
6 changed files with 30 additions and 15 deletions

View file

@ -2,7 +2,9 @@ if status is-interactive
# nix-your-shell
nix-your-shell fish | source
if test -e "$HOME/.iterm2_shell_integration.fish"
source "$HOME/.iterm2_shell_integration.fish"
end
string match -q "$TERM_PROGRAM" "iTerm.app"
and source "$HOME/.iterm2_shell_integration.fish"
string match -q "$TERM_PROGRAM" ghostty
and source "/Applications/Ghostty.app/Contents/Resources/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
end