We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95fb89 commit 40ab1f7Copy full SHA for 40ab1f7
commands/google-maps/google-maps.sh
@@ -14,10 +14,10 @@
14
first_argument=${1// /+}
15
second_argument=${2// /+}
16
17
-if [$1 == ""]; then
+if [ "$1" = "" ]; then
18
open "https://www.google.com/maps"
19
-elif [$2 == ""]; then
+elif [ "$2" = "" ]; then
20
open "https://www.google.com/maps/search/$first_argument"
21
else
22
- open "https://www.google.com/maps/dir/$second_argument/$first_argument"
+ open "https://www.google.com/maps/dir/$first_argument/$second_argument"
23
fi
0 commit comments