update backup file name
This commit is contained in:
parent
0c13e4bf47
commit
559b651a40
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -e "$HOME/.tmux" ] ; then
|
||||
mv "$HOME/.tmux" "$HOME/.tmux-original"
|
||||
mv "$HOME/.tmux" "$HOME/.tmux-original-$(date +%s)"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
ln -s "$HOME/.config/tmux" "$HOME/.tmux"
|
||||
|
|
Loading…
Reference in New Issue