[tmux] Only source ~/.tmux.conf.local if it exists
change
commit 0b23a0e10a777c0defa8636a0dbf0fae64848f0d
author Alpha Chen <alpha.chen@gmail.com>
date
parent 00cc05ca
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 54675c3f..a88fe2a1 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -101,7 +101,7 @@ unbind r
 bind r source-file ~/.tmux.conf \; display 'Reloaded tmux.conf'
 
 # TODO Figure out why this is order dependent
-source-file ~/.tmux.conf.local
+if-shell "[[ -e ~/.tmux.conf.local ]]" "source-file ~/.tmux.conf.local"
 
 source-file ~/.dotfiles/src/tmux-colors-solarized/tmuxcolors-256.conf
 source-file ~/.dotfiles/src/powerline/powerline/bindings/tmux/powerline.conf