From: martin f. krafft Date: Mon, 17 Sep 2012 13:34:37 +0000 (+0200) Subject: expand ~ for inplacemkdir X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/da6da8c62360cb7aafc80fa84d74b01e6a425bf2 expand ~ for 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