summary refs log tree commit diff stats
path: root/install
diff options
context:
space:
mode:
authorAlan Pearce2013-06-01 14:39:28 +0100
committerAlan Pearce2013-06-01 14:39:28 +0100
commitd87f35f675e774bcab14db580795ebbc9c86d5d4 (patch)
tree1b638e36a76cded507778d79e85c57c6030734a5 /install
parent10353603cc72f37034b86071f9c495d866dafeaf (diff)
downloadnixfiles-d87f35f675e774bcab14db580795ebbc9c86d5d4.tar.lz
nixfiles-d87f35f675e774bcab14db580795ebbc9c86d5d4.tar.zst
nixfiles-d87f35f675e774bcab14db580795ebbc9c86d5d4.zip
Installer: Fix relative paths
Diffstat (limited to 'install')
-rwxr-xr-xinstall16
1 files changed, 8 insertions, 8 deletions
diff --git a/install b/install
index 8d6ae180..0fa5859e 100755
--- a/install
+++ b/install
@@ -48,28 +48,28 @@ then
 fi
 
 fasd_cache=~/.zsh/cache/fasd-init-zsh
-if [[ ! -s "$fasd_cache" || zsh/functions/fasd -nt "$fasd_cache" ]]; then
-	zsh/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache"
+if [[ ! -s "$fasd_cache" || dotfiles/zsh/functions/fasd -nt "$fasd_cache" ]]; then
+	dotfiles/zsh/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache"
 fi
 
 autoload -U zrecompile
 local -a zfiles
 zfiles=(
-	zsh/functions/fasd/fasd
+	dotfiles/zsh/functions/fasd/fasd
 	$fasd_cache
-	zsh/zshrc
-	zsh/zshrc_${HOST%%.*}
+	dotfiles/zsh/zshrc
+	dotfiles/zsh/zshrc_${HOST%%.*}
 )
 if [[ -e /usr/bin/emerge ]]; then
-	zfiles+=zsh/zshrc_gentoo
+	zfiles+=dotfiles/zsh/zshrc_gentoo
 fi
 if [[ $OSTYPE == freebsd* ]]; then
-	zfiles+=zsh/zshrc_freebsd
+	zfiles+=dotfiles/zsh/zshrc_freebsd
 fi
 
 zrecompile -p -R ~/.zshrc.zwc $zfiles
 
-for fp in zsh/functions/*(/); do
+for fp in dotfiles/zsh/functions/*(/); do
 	zrecompile -p $fp $fp/*
 done