From 6c1edfe716f8e5132b59d5affa68c20289a16101 Mon Sep 17 00:00:00 2001 From: pika Date: Tue, 21 May 2024 10:12:31 +0200 Subject: [PATCH] addet rsync support --- config.fish | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config.fish b/config.fish index d15dbfb..aeb1aa1 100644 --- a/config.fish +++ b/config.fish @@ -19,7 +19,7 @@ end # __/ | # |___/ -# ─< Environment-Variables >──────────────────────────────────────────────────────────────── +# ─────────────────────────────────< Environment-Variables >─────────────────────────────── set fish_greeting set toolbox "The following tools are active: " @@ -144,6 +144,11 @@ alias grep="grep --color=always" # ─< weather >────────────────────────────────────────────────────────────────────────────── alias www='curl wttr.in/Ulm' +# ─< rsync >──────────────────────────────────────────────────────────────────────────────── +if command -v rsync >/dev/null 2>&1 + alias cp='rsync -avP' +end + # ─< bat alias >──────────────────────────────────────────────────────────────────────────── if command -v batcat >/dev/null 2>&1 alias cat='batcat --color=always -p --paging=never'