commit 0f08f9e27de057a72ec2d5f499bdcf72f3b31355 parent a0e53c6d6d480b0b914e7d51e00a8bf4d8e3fe2e Author: Xiaodong Xu <[email protected]> Date: Tue Jul 3 00:07:27 +0800 Add install script Diffstat:
install-tmuxen | | | 23 | +++++++++++++++++++++++ |
tmuxen | | | 1 | + |
diff --git a/install-tmuxen b/install-tmuxen @@ -0,0 +1,23 @@ +#!/bin/sh +# +# name : install-tmuxen, tmuxen install script +# author : Xu Xiaodong <[email protected]> +# license : GPL +# created : 2012 Jul 02 +# modified : 2012 Jul 03 +# + +bin=$HOME/bin +cwd=$(dirname $0) + +if [ ! -d $bin ]; then + mkdir $bin +fi + +echo "Installing tmuxen to $bin" +cp $cwd/tmuxen $bin + +echo "Symlinking _tmux.conf to $HOME/.tmux.conf" +ln -sf $cwd/_tmux.conf $HOME/.tmux.conf + +exit 0 diff --git a/tmuxen b/tmuxen @@ -2,6 +2,7 @@ # # name : tmuxen, tmux environment made easy # author : Xu Xiaodong <[email protected]> +# license : GPL # created : 2012 Jul 01 # modified : 2012 Jul 02 #