tmux/install.sh

13 lines
299 B
Bash
Raw Normal View History

2020-09-03 14:56:16 +00:00
#!/bin/sh
if [ -e "$HOME/.tmux" ] ; then
2020-09-03 15:29:45 +00:00
mv "$HOME/.tmux" "$HOME/.tmux-original-$(date +%s)"
2020-09-03 14:56:16 +00:00
fi
if [ -e "$HOME/.tmux.conf" ] ; then
2020-09-03 15:29:45 +00:00
mv "$HOME/.tmux.conf" "$HOME/.tmux.conf-original-$(date +%s)"
2020-09-03 14:56:16 +00:00
fi
2020-09-03 15:24:41 +00:00
ln -s "$HOME/.config/tmux" "$HOME/.tmux"
ln -s "$HOME/.config/tmux/tmux.conf" "$HOME/.tmux.conf"