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' 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'