#!/bin/bash
if [ ! -d ~/.tmux ]; then 
    mkdir ~/.tmux
    ln -s ~/dot_files/.tmux.conf ~/.tmux.conf
    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
fi

#!/bin/bash
source ~/.bashrc
if [ ! -d ~/.tmux ]; then 
    mkdir ~/.tmux
    ln -s ~/dot_files/.tmux.conf ~/.tmux.conf
    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
    tmux && tmux source-file ~/.tmux.conf
fi

--- 
+++ 
@@ -1,8 +1,6 @@
 #!/bin/bash
-source ~/.bashrc
 if [ ! -d ~/.tmux ]; then 
     mkdir ~/.tmux
     ln -s ~/dot_files/.tmux.conf ~/.tmux.conf
     git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
-    tmux && tmux source-file ~/.tmux.conf
 fi
Configure tmux script will no more try to load tmux.
