1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 00:00:44 +01:00
flake/home/programs/fish/configs/99_interactive.fish

15 lines
569 B
Fish

if status is-interactive
nix-your-shell fish | source
set -l iterm2_shell_integration "$HOME/.iterm2_shell_integration.fish"
string match -q "$TERM_PROGRAM" "iTerm.app"
and test -f "$iterm2_shell_integration"
and source "$iterm2_shell_integration"
set -l ghostty_shell_integration "/Applications/Ghostty.app/Contents/Resources/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
string match -q "$TERM_PROGRAM" ghostty
and test -f "$ghostty_shell_integration"
and source "$ghostty_shell_integration"
end