change: deacticated autocomplete since it is more trouble than it's worth

change: do not call aliases from aliases
new: added alias for a scp replacement
This commit is contained in:
fabian 2022-08-20 18:54:44 +02:00
parent 2a03193ad6
commit 4ac6ee989c

View File

@ -9,11 +9,12 @@ alias r='reset'
alias ..='cd ..' alias ..='cd ..'
alias refresh_bashrc='. ~/.bashrc' # alternatively: 'source ~/.bashrc' alias refresh_bashrc='. ~/.bashrc' # alternatively: 'source ~/.bashrc'
alias rsync_default="rsync $DEFAULT_RSYNC --checksum" alias rsync_default="rsync $DEFAULT_RSYNC --checksum"
source /usr/share/bash-completion/completions/rsync # source /usr/share/bash-completion/completions/rsync
complete -F _rsync rsync_default # complete -F _rsync rsync_default
alias rsync_backup="rsync $DEFAULT_RSYNC --checksum --times --group --owner --delete" alias rsync_backup="rsync $DEFAULT_RSYNC --checksum --times --group --owner --delete"
alias rsync_move='rsync_default --remove-source-files' alias rsync_move='rsync $DEFAULT_RSYNC --checksum --remove-source-files'
alias rsync_update="rsync $DEFAULT_RSYNC --update --times" alias rsync_update="rsync $DEFAULT_RSYNC --update --times"
alias rsync_copy="rsync $DEFAULT_RSYNC --ignore-times"
alias off='systemctl poweroff' alias off='systemctl poweroff'
alias nnn='nnn -dHrR' alias nnn='nnn -dHrR'
alias nn='n -dHrR' alias nn='n -dHrR'