X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/4e5f7ffb64e3e06024312c9d859eeee5c4504dd1..6a3fd78bbaeda0aa6761a03dbf21217d441a812f:/.zsh/zshrc/80_inplacemkdir diff --git a/.zsh/zshrc/80_inplacemkdir b/.zsh/zshrc/80_inplacemkdir index 095200f..e8a02eb 100644 --- a/.zsh/zshrc/80_inplacemkdir +++ b/.zsh/zshrc/80_inplacemkdir @@ -15,7 +15,7 @@ _inplaceMkDirs() { bufwords=(${(z)LBUFFER}) iword=${#bufwords} bufwords=(${(z)BUFFER}) - PATHTOMKDIR="$bufwords[iword]" + PATHTOMKDIR="${(Q)bufwords[iword]}" fi [[ -z "${PATHTOMKDIR}" ]] && return 1 if [[ -e "${PATHTOMKDIR}" ]]; then