From 78936bf3d7a1e99199c44e05c960bacf7531115f Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 24 Mar 2022 08:20:58 -0400 Subject: [PATCH] Rename notify_status alias to notify-done which is more mnemonic and doesn't conflict with the sys status notifier script. --- home/lib/login_aliases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.20.1