From 7263ad2aea344b081007a05ae59a9c195a68f4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Fri, 23 Aug 2024 16:33:58 +0200 Subject: [PATCH] feat(zsh): add alias for large file copies using rsync --- nixos/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/home.nix b/nixos/home.nix index 7cbb29c..41c7c9d 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -93,6 +93,10 @@ in { vim = "nvim"; vi = "nvim"; + + # progress cp + # https://serverfault.com/questions/43014/copying-a-large-directory-tree-locally-cp-or-rsync + pcp = "rsync --info=progress2 --archive --hard-links --acls --xattrs --human-readable --sparse --stats"; }; initExtra = '' # enable jj completion