qbprof: error out for empty argument
This commit is contained in:
parent
d216c5f92f
commit
2bebabc358
@ -1,4 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# runs a qutebrowser profile
|
# runs a qutebrowser profile
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
printf "No profile selected.\n" > /dev/stderr
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
qutebrowser --basedir ~/.config/qbprof/"$1"
|
qutebrowser --basedir ~/.config/qbprof/"$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user