projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49339f2
)
zshrc: fix inplaceMkDirs
author
Bernhard Tittelbach
<bernhard@tittelbach.org>
Tue, 3 Apr 2012 06:21:04 +0000
(08:21 +0200)
committer
Bernhard Tittelbach
<bernhard@tittelbach.org>
Tue, 3 Apr 2012 06:21:04 +0000
(08:21 +0200)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
a33c6df
..
305e0ec
100644
(file)
--- 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