[feat] add tmux conf link

This commit is contained in:
Jay 2021-01-18 22:11:59 +08:00
parent adb1f36c83
commit 3c9e020e8e

View File

@ -14,6 +14,13 @@ fi
ln -sf "`pwd`/.gitconfig" "$HOME/.gitconfig" ln -sf "`pwd`/.gitconfig" "$HOME/.gitconfig"
if [ -f "$HOME/.tmux.conf" ]; then
# backup old file
mv "$HOME/.tmux.conf" "$HOME/.tmux.conf.old"
fi
ln -sf "`pwd`/.tmux.conf" "$HOME/.tmux.conf"
if [ ! -d "$HOME/.ssh" ]; then if [ ! -d "$HOME/.ssh" ]; then
mkdir -p "$HOME/.ssh" mkdir -p "$HOME/.ssh"
fi fi