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

@ -23,4 +23,7 @@ function take() {
eval "$(nix-your-shell zsh)"
# iTerm
[ -e "$HOME/.iterm2_shell_integration.zsh" ] && source "$HOME/.iterm2_shell_integration.zsh"
[[ "$TERM_PROGRAM" == "iTerm.app" ]] && source "$HOME/.iterm2_shell_integration.zsh"
# Ghostty
[[ "$TERM_PROGRAM" == "ghostty" ]] && source "/Applications/Ghostty.app/Contents/Resources/ghostty/shell-integration/zsh/ghostty-integration"