sync/home_external/.bash_aliases

20 lines
746 B
Bash
Raw Normal View History

2022-04-28 23:36:42 +02:00
if [ "$TERM" == 'xterm-kitty' ]; then
alias ssh='kitty +kitten ssh'
fi
DEFAULT_RSYNC='--verbose --recursive --progress --delay-updates --human-readable --links --hard-links --perms'
alias l='ls -l -v --all --human-readable --classify --group-directories-first'
2022-04-28 23:36:42 +02:00
alias r='reset'
alias ..='cd ..'
alias refresh_bashrc='. ~/.bashrc' # alternatively: 'source ~/.bashrc'
alias rsync_default="rsync $DEFAULT_RSYNC --checksum"
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"
alias off='systemctl poweroff'
alias nnn='nnn -dHrR'
alias nn='n -dHrR'
alias finds='find $* 2>/dev/null'
alias c='clear'