- added new alias to sort directories by size
- added first try on alias autocomplete
This commit is contained in:
parent
d212b0e527
commit
b572438868
@ -9,6 +9,7 @@ alias r='reset'
|
||||
alias ..='cd ..'
|
||||
alias refresh_bashrc='. ~/.bashrc' # alternatively: 'source ~/.bashrc'
|
||||
alias rsync_default="rsync $DEFAULT_RSYNC --checksum"
|
||||
# complete -F _rsync rsync_default # FIXME!!! works on oashi workstation (ubuntu) but not on manjaro ?!?
|
||||
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"
|
||||
@ -17,6 +18,7 @@ alias nnn='nnn -dHrR'
|
||||
alias nn='n -dHrR'
|
||||
alias finds='find $* 2>/dev/null'
|
||||
alias c='clear'
|
||||
alias sort_dirs_by_size='du --block-size=1K --human-readable --max-depth=1 | sort --human-numeric-sort --reverse' # 'du -kh --max-depth=1 | sort -hr'
|
||||
|
||||
|
||||
# executes command and notifies upon failure
|
||||
|
Loading…
Reference in New Issue
Block a user