Loading .bashrc +2 −2 Original line number Diff line number Diff line Loading @@ -339,9 +339,9 @@ __command_notifier () { then if [ "$exitstatus" -eq '0' ] then echo "$last_command has finished." | notify echo "$last_command has finished." | notify & else echo "$last_command has failed." | notify --urgency=critical echo "$last_command has failed." | notify --urgency=critical & fi fi fi Loading Documents/bin/notify +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ notify_send () { nextcloud () { message="$(cat)" curl -d "$message" https://notify.shore.co.il/send curl --silent -d "$message" https://notify.shore.co.il/send > /dev/null } # Try hostname if present. Loading Loading
.bashrc +2 −2 Original line number Diff line number Diff line Loading @@ -339,9 +339,9 @@ __command_notifier () { then if [ "$exitstatus" -eq '0' ] then echo "$last_command has finished." | notify echo "$last_command has finished." | notify & else echo "$last_command has failed." | notify --urgency=critical echo "$last_command has failed." | notify --urgency=critical & fi fi fi Loading
Documents/bin/notify +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ notify_send () { nextcloud () { message="$(cat)" curl -d "$message" https://notify.shore.co.il/send curl --silent -d "$message" https://notify.shore.co.il/send > /dev/null } # Try hostname if present. Loading