update backup file name
This commit is contained in:
parent
0c13e4bf47
commit
559b651a40
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue