From 7b785f7e3f0710513938e055d0a201d8da50c394 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 16 Oct 2023 12:32:49 +0200 Subject: Add cargo/bin to PATH, Change tmux config to use fish on linux --- config/tmux/tmux.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config/tmux') diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 5e72d64..8e10065 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -28,7 +28,12 @@ bind 'c' new-window -c "#{pane_current_path}" bind R source-file ~/.config/tmux/tmux.conf set -g status-right-length 100 -set -g default-shell /usr/local/bin/fish +if-shell -b '[ "$(uname)" = Darwin ]' { + set -g default-shell /usr/local/bin/fish +} +if-shell -b '[ "$(uname)" = Linux ]' { + set -g default-shell /usr/bin/fish +} set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'egel/tmux-gruvbox' -- cgit