From 43607cba6ea30ea8da48b89d7021da945fc59d9a Mon Sep 17 00:00:00 2001 From: fabian Date: Sun, 14 May 2023 12:50:14 +0200 Subject: [PATCH] - fixed argument evaluation --- home_external/.bash_aliases | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home_external/.bash_aliases b/home_external/.bash_aliases index 9467db9..0de8f33 100644 --- a/home_external/.bash_aliases +++ b/home_external/.bash_aliases @@ -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