We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ds
1 parent be88800 commit 1d06334Copy full SHA for 1d06334
home/bin/ds
@@ -1,4 +1,4 @@
1
-#!/bin/sh
+#!/bin/dash
2
3
# Run a command in the background ("disown silently"). See
4
# https://felixmilea.com/2014/12/running-bash-commands-background-properly.
@@ -11,4 +11,4 @@ if test -t 2; then
11
exec 2>/dev/null
12
fi
13
14
-"$@" &
+{ "$@" || notify-send \`ds\` 'Something went wrong...'; } &
0 commit comments