new: finally successful rsync autocomplete for aliases
This commit is contained in:
parent
0df0fa16ce
commit
cddd6ca76f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user