[feat] add tmux conf link

This commit is contained in:
Jay 2021-01-18 22:11:59 +08:00
parent adb1f36c83
commit 3c9e020e8e
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,13 @@ fi
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
mkdir -p "$HOME/.ssh"
fi