From dcdd1c18de91bd91e7aa502b13f00b5e78f8cc37 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Tue, 26 Jul 2022 03:03:01 +0200 Subject: [PATCH] Reuse rsync command --- .config/fish/config.fish | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index f809010..fd82276 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,5 +1,8 @@ if status is-interactive - # ENV variables + # Disable greeting + set -g fish_greeting + + # Interactive environment variables set -x EDITOR /usr/bin/nvim set -x JULIA_NUM_THREADS 16 @@ -17,9 +20,6 @@ if status is-interactive set -gx MCFLY_HISTORY_LIMIT 10000 mcfly init fish | source - # Disable greeting - set -g fish_greeting - # Abbreviations ## Replacements abbr -a -g rm trash @@ -30,7 +30,8 @@ if status is-interactive abbr -a -g rmi "rm -i" ## Default options - abbr -a -g rsync "rsync -ravhL --partial --zc=zstd --zl=22 --no-i-r --info=progress2,stats2" + set -g rsync "rsync -ravhL --partial --zc=zstd --zl=10 --no-i-r --info=progress2,stats2" + abbr -a -g rsync $rsync abbr -a -g onefetch "onefetch --no-palette" ## Podman