summary refs log tree commit diff stats
path: root/install
diff options
context:
space:
mode:
authorAlan Pearce2013-11-02 16:01:06 +0000
committerAlan Pearce2013-11-02 16:01:06 +0000
commit78a76cff334aba875f54fdb5582276e4a9f66807 (patch)
tree1935a30c3394baf355955c36ae6ad92b7b990682 /install
parent1fbe0bfe24f527974285342a9cf80d245b469bc9 (diff)
downloaddotfiles-78a76cff334aba875f54fdb5582276e4a9f66807.tar.lz
dotfiles-78a76cff334aba875f54fdb5582276e4a9f66807.tar.zst
dotfiles-78a76cff334aba875f54fdb5582276e4a9f66807.zip
zsh: Separate startup files for different startup methods
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install
index 4923193..44581a1 100755
--- a/install
+++ b/install
@@ -22,8 +22,14 @@ install-dot () {
 
 install-dot $target/.git/hooks/ $target/git-hooks/*
 install-dot .emacs.d/ $target/emacs/{init.el{,c},elisp}
-install-dot . $target/^install(.) $target/zsh/zshrc $target/zsh/fasdrc
+install-dot . $target/^install(.) $target/zsh/fasdrc
 install-dot .ssh/ $target/ssh/*
+
+ln -sf $target/zsh/environment.zsh .zshenv
+ln -sf $target/zsh/interactive.zsh .zshrc
+ln -sf $target/zsh/login.zsh .zlogin
+ln -sf $target/zsh/logout.zsh .zlogout
+
 if [[ -d projects/dwm ]]
 then
 	install-dot projects/dwm/ $target/dwm/*