We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee80fa commit 2938c95Copy full SHA for 2938c95
1 file changed
bin/znaphodl
@@ -1,9 +1,10 @@
1
#!/bin/bash
2
-pushd "$(dirname -- "${BASH_SOURCE[0]}")/.." > /dev/null
+pushd "$(dirname -- "${BASH_SOURCE[0]}")/.." > /dev/null || exit 1
3
BASENAME="$(basename -- "${BASH_SOURCE[0]}")"
4
5
+# shellcheck disable=SC1090
6
. "libexec/${BASENAME}.bash"
7
-popd > /dev/null
8
+popd > /dev/null || exit 1
9
shopt -s extglob
10
__"${BASENAME//+([^a-z0-9_])/_}" "$@"
0 commit comments