mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
replace missing die function
This commit is contained in:
parent
9ec542ee17
commit
185118addb
@ -49,7 +49,8 @@ while true; do
|
|||||||
if [ $# -gt 1 ]; then
|
if [ $# -gt 1 ]; then
|
||||||
prefix=$2; shift 2
|
prefix=$2; shift 2
|
||||||
else
|
else
|
||||||
die "--prefix or -p require an argument"
|
echo "--prefix or -p require an argument" 1>&2
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
||||||
|
Loading…
Reference in New Issue
Block a user