From: Bernhard Tittelbach Date: Tue, 3 Apr 2012 06:21:04 +0000 (+0200) Subject: zshrc: fix inplaceMkDirs X-Git-Tag: v0.6.0~2 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=2ebcbd6409fb56c44bbe4671e4d845d8be7284b7 zshrc: fix inplaceMkDirs --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index a33c6df..305e0ec 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2393,6 +2393,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