diff options
author | Alan Pearce | 2013-11-02 16:01:06 +0000 |
---|---|---|
committer | Alan Pearce | 2013-11-02 16:01:06 +0000 |
commit | 78a76cff334aba875f54fdb5582276e4a9f66807 (patch) | |
tree | 1935a30c3394baf355955c36ae6ad92b7b990682 /install | |
parent | 1fbe0bfe24f527974285342a9cf80d245b469bc9 (diff) | |
download | nixfiles-78a76cff334aba875f54fdb5582276e4a9f66807.tar.lz nixfiles-78a76cff334aba875f54fdb5582276e4a9f66807.tar.zst nixfiles-78a76cff334aba875f54fdb5582276e4a9f66807.zip |
zsh: Separate startup files for different startup methods
Diffstat (limited to 'install')
-rwxr-xr-x | install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install index 4923193f..44581a1f 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/* |