- fixed argument evaluation

This commit is contained in:
fabian 2023-05-14 12:50:14 +02:00
parent 0b57ddfaaf
commit 43607cba6e

View File

@ -18,7 +18,6 @@ alias rsync_copy="rsync $DEFAULT_RSYNC --ignore-times"
alias off='systemctl poweroff'
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'
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.)
: 'seems to be working as alias as well:
finds () {
find $* 2>/dev/null
}'
}
# sends a desktop-notification with an icon signalling an error