diff --git a/fish/config.fish b/fish/config.fish index 2851a08..2ae5c7a 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -185,7 +185,9 @@ function pbcat end # Use ctrl+s to fzf search the current directory -fzf_configure_bindings --directory=\cs +if status is-interactive + fzf_configure_bindings --directory=\cs +end # Search for all files with matching name in wiki function wiki_file @@ -195,7 +197,9 @@ function wiki_file --preview-window="right:65%" \ --bind "enter:become(nvim $HOME/Dropbox/wiki/{})" end -bind \cg wiki_file +if status is-interactive + bind \cg wiki_file +end # Search for all files *containing* text function wt diff --git a/ghostty/config b/ghostty/config index 867f9d1..90b95fe 100644 --- a/ghostty/config +++ b/ghostty/config @@ -5,11 +5,8 @@ shell-integration = fish theme = Catppuccin Frappe command = /opt/homebrew/bin/fish -# Auto-copy Ghostty terminfo to SSH remote hosts (prevents "unknown terminal" errors) -auto-install-terminfo = true - # Desktop notification when a long-running command finishes -notify-on-command-finish = true +notify-on-command-finish = unfocused # Let tmux handle all window/tab management keybind = super+t=unbind