forked from Shinonome/dots-hyprland
Skip fish/conf.d when syncing to preserve user customizations
This commit is contained in:
@@ -30,7 +30,11 @@ esac
|
||||
case "${SKIP_FISH}" in
|
||||
true) sleep 0;;
|
||||
*)
|
||||
install_dir__sync dots/.config/fish "$XDG_CONFIG_HOME"/fish
|
||||
# Use rsync with exclude to preserve user's custom conf.d directory
|
||||
if [ -d "$XDG_CONFIG_HOME"/fish ];then
|
||||
warning_overwrite
|
||||
fi
|
||||
rsync_dir__sync_exclude dots/.config/fish "$XDG_CONFIG_HOME"/fish "conf.d"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user