]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/80_inplacemkdir
expand ~ for inplacemkdir
[zsh.git] / .zsh / zshrc / 80_inplacemkdir
index e8a02ebf17760522690f4db77d62c0cbad023429..91acd91ecc70da5e0e67950b939819d04c6add2a 100644 (file)
@@ -18,6 +18,7 @@ _inplaceMkDirs() {
         PATHTOMKDIR="${(Q)bufwords[iword]}"
     fi
     [[ -z "${PATHTOMKDIR}" ]] && return 1
+    PATHTOMKDIR=${~PATHTOMKDIR}
     if [[ -e "${PATHTOMKDIR}" ]]; then
         zle -M " path already exists, doing nothing"
     else