浏览代码

Fix fish folder overwrite

Make a backup of the existing fish config before inserting custom one.
DricomDragon 4 年之前
父节点
当前提交
4254a999a9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Install/basic-custom

+ 2 - 0
Install/basic-custom

@@ -8,6 +8,8 @@ mkdir --parents $HOME/.config
 
 
 # Basic config
 # Basic config
 cp --link Templates/config/screenrc $HOME/.config/screenrc
 cp --link Templates/config/screenrc $HOME/.config/screenrc
+
+mv $HOME/.config/fish $HOME/.config/fish_stock_backup 
 ln --relative --symbolic Templates/config/fish $HOME/.config/fish
 ln --relative --symbolic Templates/config/fish $HOME/.config/fish
 
 
 # Export environment variables
 # Export environment variables