From cddd6ca76f1397daed431055c1bdf3776dd0a86e Mon Sep 17 00:00:00 2001 From: fabian Date: Sat, 23 Jul 2022 16:27:11 +0200 Subject: [PATCH] new: finally successful rsync autocomplete for aliases --- home_external/.bash_aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home_external/.bash_aliases b/home_external/.bash_aliases index f8d1f5f..016425b 100644 --- a/home_external/.bash_aliases +++ b/home_external/.bash_aliases @@ -9,6 +9,8 @@ alias r='reset' alias ..='cd ..' alias refresh_bashrc='. ~/.bashrc' # alternatively: 'source ~/.bashrc' alias rsync_default="rsync $DEFAULT_RSYNC --checksum" +source /usr/share/bash-completion/completions/rsync +complete -F _rsync rsync_default alias rsync_backup="rsync $DEFAULT_RSYNC --checksum --times --group --owner --delete" alias rsync_move='rsync_default --remove-source-files' alias rsync_update="rsync $DEFAULT_RSYNC --update --times"