X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6a3fd78bbaeda0aa6761a03dbf21217d441a812f..1e81bda46f7ff428b73c0dc28451285afeb19155:/.zsh/zshrc/80_inplacemkdir

diff --git a/.zsh/zshrc/80_inplacemkdir b/.zsh/zshrc/80_inplacemkdir
index e8a02eb..91acd91 100644
--- a/.zsh/zshrc/80_inplacemkdir
+++ b/.zsh/zshrc/80_inplacemkdir
@@ -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