Skip to content

Commit

Permalink
Check to see if the tmux config exists
Browse files Browse the repository at this point in the history
Don't blindly source files.
  • Loading branch information
mopub-dev authored and Jesse Smith committed Mar 13, 2013
1 parent 7a01268 commit 4bb6678
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/default/vim-source_tmux_config.bash
@@ -1 +1,6 @@
source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh
TMUX_CONFIG=~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh

if [ -f $TMUX_CONFIG ]
then
source $TMUX_CONFIG
fi

0 comments on commit 4bb6678

Please sign in to comment.