From da6da8c62360cb7aafc80fa84d74b01e6a425bf2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 17 Sep 2012 15:34:37 +0200 Subject: [PATCH 1/1] expand ~ for inplacemkdir --- .zsh/zshrc/80_inplacemkdir | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5