From 02137f0c4aa22717a8ee8eb306abf10252991421 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 10 Mar 2023 15:15:06 +0100 Subject: [PATCH] [Fish] Simplify rsync abbreviation --- org/config/fish.org | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/org/config/fish.org b/org/config/fish.org index 7bf83d1..c7a26e4 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -456,20 +456,20 @@ of a directory. Notice also the =--preserve-root= which will prevent me from accidentally removing the root folder. I added the same option to =chgrp=, =chmod=, and =chown=. #+NAME: sec-abbr -| abbreviation | command | -|--------------+---------------------------| -| cp | cp -i | -| rsync | rsync -ruvtEhl --progress | -| ln | ln -i | -| lns | ln -si | -| mv | mv -i | -| rm | rm -Iv | -| rmd | rm --preserve-root -Irv | -| rmdf | rm --preserve-root -Irfv | -| rmf | rm --preserve-root -Ifv | -| chgrp | chgrp --preserve-root -v | -| chmod | chmod --preserve-root -v | -| chown | chown --preserve-root -v | +| abbreviation | command | +|--------------+--------------------------| +| cp | cp -i | +| rsync | rsync -Pa --progress | +| ln | ln -i | +| lns | ln -si | +| mv | mv -i | +| rm | rm -Iv | +| rmd | rm --preserve-root -Irv | +| rmdf | rm --preserve-root -Irfv | +| rmf | rm --preserve-root -Ifv | +| chgrp | chgrp --preserve-root -v | +| chmod | chmod --preserve-root -v | +| chown | chown --preserve-root -v | Here is the corresponding fish configuration: #+BEGIN_SRC fish