]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/editor_select/editor_select.zprofile
New "go" plugin
[ax-zsh.git] / plugins / editor_select / editor_select.zprofile
index 08a0cf0581b5e751b41ae30b01f9e9d4b076076f..a5c3173d49531b6d11538c14ac1bf324238fa4e2 100644 (file)
@@ -11,7 +11,7 @@ if [[ -z "$EDITOR" ]]; then
        unset editor
 fi
 
-case "$(basename "$EDITOR")" in
+case "$EDITOR:t" in
        "atom"|"mate"|"subl")
                EDITOR="$EDITOR --wait"
                ;;