From 70fc9fd33fa7e7d7cfc2fc62c8b2a4c4a17bb204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 6 Oct 2022 17:38:26 +0300
Subject: rsync shortcut preserve hard-links

---
 dotfiles/.config/zsh/shortcuts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'dotfiles/.config/zsh/shortcuts')

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)"'
-- 
cgit v1.2.3