From 7cf847d0734fdd607d608d586cd01e7241fa10d4 Mon Sep 17 00:00:00 2001 From: James Dixon Date: Mon, 5 Feb 2024 06:24:47 -0500 Subject: [PATCH] update name convention for .tmux.conf --- config/tmux/.tmux.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/tmux/.tmux.conf b/config/tmux/.tmux.conf index 4549f23..423e0ae 100644 --- a/config/tmux/.tmux.conf +++ b/config/tmux/.tmux.conf @@ -70,9 +70,8 @@ bind-key r source-file ~/.tmux.conf \; display-message "Sourced ~/.tmux.conf!" # Run manual page in a split window # bind-key K command-prompt "split-window 'exec man %%'" -# source local confs if they exist -if-shell -b '[ -f "$HOME/.config/tmux.conf" ]' "source-file ~/.config/tmux.conf" -if-shell -b '[ -f "$HOME/.local/tmux.conf" ]' "source-file ~/.local/tmux.conf" +# source local conf if they exist +if-shell -b '[ -f "$HOME/.local/.tmux.conf" ]' "source-file ~/.local/.tmux.conf" # I really like tmux, but the way the handle backwards-compat in their config SUCKS!! # https://stackoverflow.com/questions/35016458/how-to-write-if-statement-in-tmux-conf-to-set-different-options-for-different-t