From: Siraaj Khandkar Date: Thu, 24 Mar 2022 12:20:58 +0000 (-0400) Subject: Rename notify_status alias to notify-done X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=78936bf3d7a1e99199c44e05c960bacf7531115f;p=khome.git Rename notify_status alias to notify-done which is more mnemonic and doesn't conflict with the sys status notifier script. --- diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index 8255c09..f335f56 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -25,4 +25,4 @@ alias ideas='cd ~/doc/ideas && vim ideas.md' alias quotes='cd ~/doc/quotations && vim quotations.md' alias bitcoin='nc ticker.bitcointicker.co 10080' # https://github.com/chubin/awesome-console-services#Money alias weather='cat ~/.pista-out/weather-summary' -alias notify_status='s="$?"; if [[ "$s" -eq 0 ]]; then notify-send "done OK: $s"; else notify-send -u critical "done ERROR: $s"; fi' +alias notify-done='s="$?"; if [[ "$s" -eq 0 ]]; then notify-send "done OK: $s"; else notify-send -u critical "done ERROR: $s"; fi'