]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/browser_select/browser_select.zprofile
Refactoring: Always use "[[" (instead of "[")
[ax-zsh.git] / plugins / browser_select / browser_select.zprofile
index 0f72e74aca35616256616e46eb3e473def3a6b7b..bdda2782e504f123374c1baf40da1fcf41a587ec 100644 (file)
@@ -18,7 +18,7 @@ if [[ -z "$BROWSER" ]]; then
                $x11_browsers
                elinks w3m links2 links lynx
        ); do
-               if [ -n "$commands[$browser]" ]; then
+               if [[ -n "$commands[$browser]" ]]; then
                        BROWSER="$commands[$browser]"
                        break
                fi