aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-10-06 17:38:26 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-10-06 17:38:26 +0300
commit70fc9fd33fa7e7d7cfc2fc62c8b2a4c4a17bb204 (patch)
tree788db41de0a281ba9e1143a606a42c2c8cdff4a8
parent7ee5790f9b36a167925285ef9e38a22a6b7468d7 (diff)
downloadswayrice-70fc9fd33fa7e7d7cfc2fc62c8b2a4c4a17bb204.tar.gz
swayrice-70fc9fd33fa7e7d7cfc2fc62c8b2a4c4a17bb204.zip
rsync shortcut preserve hard-links
-rw-r--r--dotfiles/.config/zsh/shortcuts8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 44c3ab7..38a3af3 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -31,10 +31,10 @@ alias past="wl-paste -n"
alias ppast="wl-paste -pn"
# rsync shortcuts
-alias rs="rsync -avh"
-alias rsn="rsync -avhn"
-alias rsd="rsync -avh --delete"
-alias rsdn="rsync -avhn --delete"
+alias rs="rsync -avhH"
+alias rsn="rsync -avhHn"
+alias rsd="rsync -avhH --delete"
+alias rsdn="rsync -avhHn --delete"
# Fuzzy finder
alias fzo='op "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'