feat(bin): set default param
This commit is contained in:
1 file changed
+1
-1
@@ -7,7 +7,7 @@ open-url-with-delay(){
|
||||
fi
|
||||
|
||||
local browser_open=${BROWSER_OPEN:=True}
|
||||
local seconds=${2:=2}
|
||||
local seconds=${2:-2}
|
||||
if [[ $browser_open == 'True' ]]; then
|
||||
sleep "$seconds"
|
||||
open-with-os "$1"
|
||||
|
||||
Reference in new issue
Block a user