projects
/
zsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bb2a8
)
.
author
Joerg Jaspert
<joerg@debian.org>
Thu, 21 Mar 2013 22:26:46 +0000
(23:26 +0100)
committer
Joerg Jaspert
<joerg@debian.org>
Thu, 21 Mar 2013 22:26:46 +0000
(23:26 +0100)
.zsh/install.zsh
patch
|
blob
|
history
diff --git
a/.zsh/install.zsh
b/.zsh/install.zsh
index
bfbf435
..
75adcc7
100644
(file)
--- a/
.zsh/install.zsh
+++ b/
.zsh/install.zsh
@@
-64,6
+64,7
@@
if [[ $1 == "MAGIC" ]]; then
rm -f ~/.zshrc
rm -f ~/.zshenv
ln -s .zsh/zshenv.home ~/.zshenv
+ autoload -Uz relative
linktarget=$(relative "${HOME}/zshenv.local" "${HOME}/zshenv.local.sample")
/bin/ln -s "${linktarget}" "${HOME}/zshenv.local.sample"
print $OK