took advantage of tmux 1.8 blocking 'if-shell' to detect '~/.tmux.conf.local'

starting with tmux 1.8, it's an error to source a non existing file
This commit is contained in:
Gregory Pakosz
2013-08-28 08:58:09 +02:00
parent 2204f4380b
commit f774b98577
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ if 'command -v reattach-to-user-namespace' 'bind y run "tmux save-buffer - | rea
# -- user defined --------------------------------------------------------------
source ~/.tmux.conf.local
if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'
# -- 8< ------------------------------------------------------------------------