update backup file name

This commit is contained in:
Ray Elliott 2020-09-03 16:29:45 +01:00
parent 0c13e4bf47
commit 559b651a40
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
if [ -e "$HOME/.tmux" ] ; then if [ -e "$HOME/.tmux" ] ; then
mv "$HOME/.tmux" "$HOME/.tmux-original" mv "$HOME/.tmux" "$HOME/.tmux-original-$(date +%s)"
fi fi
if [ -e "$HOME/.tmux.conf" ] ; then if [ -e "$HOME/.tmux.conf" ] ; then
mv "$HOME/.tmux.conf" "$HOME/.tmux.conf-original" mv "$HOME/.tmux.conf" "$HOME/.tmux.conf-original-$(date +%s)"
fi fi
ln -s "$HOME/.config/tmux" "$HOME/.tmux" ln -s "$HOME/.config/tmux" "$HOME/.tmux"