diff --git a/ansible/tasks/tmux.yml b/ansible/tasks/tmux.yml index d40f8b0..1c09b2f 100644 --- a/ansible/tasks/tmux.yml +++ b/ansible/tasks/tmux.yml @@ -6,7 +6,9 @@ depth: 1 - name: Install tmux plugins via TPM - ansible.builtin.command: - cmd: "{{ ansible_user_dir }}/.tmux/plugins/tpm/bin/install_plugins" + ansible.builtin.shell: + cmd: > + tmux start-server && + {{ ansible_user_dir }}/.tmux/plugins/tpm/bin/install_plugins environment: TMUX_PLUGIN_MANAGER_PATH: "{{ ansible_user_dir }}/.tmux/plugins" diff --git a/fish/config.fish b/fish/config.fish index 2ae5c7a..2851a08 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -185,9 +185,7 @@ function pbcat end # Use ctrl+s to fzf search the current directory -if status is-interactive - fzf_configure_bindings --directory=\cs -end +fzf_configure_bindings --directory=\cs # Search for all files with matching name in wiki function wiki_file @@ -197,9 +195,7 @@ function wiki_file --preview-window="right:65%" \ --bind "enter:become(nvim $HOME/Dropbox/wiki/{})" end -if status is-interactive - bind \cg wiki_file -end +bind \cg wiki_file # Search for all files *containing* text function wt diff --git a/ghostty/config b/ghostty/config index 90b95fe..867f9d1 100644 --- a/ghostty/config +++ b/ghostty/config @@ -5,8 +5,11 @@ 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 = unfocused +notify-on-command-finish = true # Let tmux handle all window/tab management keybind = super+t=unbind