new: finally successful rsync autocomplete for aliases

This commit is contained in:
fabian 2022-07-23 16:27:11 +02:00
parent 0df0fa16ce
commit cddd6ca76f

View File

@ -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"