Compare commits

..

2 Commits

Author SHA1 Message Date
d59183ad63 Merge branch 'master' into debian 2023-05-14 12:50:49 +02:00
43607cba6e - fixed argument evaluation 2023-05-14 12:50:14 +02:00

View File

@ -18,7 +18,6 @@ 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'
alias finds='find $* 2>/dev/null'
alias c='clear' 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' 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'
alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion." alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion."
@ -63,10 +62,9 @@ executeAndNotify () {
# find file but don't print errors (e.g. can't access directory etc.) # find file but don't print errors (e.g. can't access directory etc.)
: 'seems to be working as alias as well:
finds () { finds () {
find $* 2>/dev/null find $* 2>/dev/null
}' }
# sends a desktop-notification with an icon signalling an error # sends a desktop-notification with an icon signalling an error