diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2023-10-16 12:32:49 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2023-10-16 12:32:49 +0200 |
| commit | 7b785f7e3f0710513938e055d0a201d8da50c394 (patch) | |
| tree | 638b0cd851ecd36a203efd7cf7ff53e31ee3bda8 /config/tmux | |
| parent | d002dba0fbc1fa5f49a4e1108d18537dc8060f6a (diff) | |
| download | dotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.tar.gz dotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.tar.bz2 dotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.zip | |
Add cargo/bin to PATH, Change tmux config to use fish on linux
Diffstat (limited to 'config/tmux')
| -rw-r--r-- | config/tmux/tmux.conf | 7 |
1 files changed, 6 insertions, 1 deletions
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' |
