1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Reuse rsync command

This commit is contained in:
Mo 2022-07-26 03:03:01 +02:00
parent 197abaf94b
commit dcdd1c18de

View file

@ -1,5 +1,8 @@
if status is-interactive if status is-interactive
# ENV variables # Disable greeting
set -g fish_greeting
# Interactive environment variables
set -x EDITOR /usr/bin/nvim set -x EDITOR /usr/bin/nvim
set -x JULIA_NUM_THREADS 16 set -x JULIA_NUM_THREADS 16
@ -17,9 +20,6 @@ if status is-interactive
set -gx MCFLY_HISTORY_LIMIT 10000 set -gx MCFLY_HISTORY_LIMIT 10000
mcfly init fish | source mcfly init fish | source
# Disable greeting
set -g fish_greeting
# Abbreviations # Abbreviations
## Replacements ## Replacements
abbr -a -g rm trash abbr -a -g rm trash
@ -30,7 +30,8 @@ if status is-interactive
abbr -a -g rmi "rm -i" abbr -a -g rmi "rm -i"
## Default options ## 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" abbr -a -g onefetch "onefetch --no-palette"
## Podman ## Podman