commit d10caae7d5ed8125e09b5c463e3e3631cad97585
parent 86f1d001ee7bdff4f179ef5fcf2c85ca42c4e183
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 29 Nov 2016 23:09:44 +0100
install zsh with separate symlinks
Diffstat:
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/install.sh b/install.sh
@@ -14,23 +14,27 @@ git clone 'https://bitbucket.org/sterlingcamden/urlpicker/'
# sudo cp urlpicker/url-picker /usr/local/lib/urxvt/perl
ln -s ~/apps/fasd/fasd ~/bin
cd ~/config
-mkdir -p ~/config/private/zsh
-touch ~/config/private/zsh/ps1
mkdir -p ~/.elinks
mkdir -p ~/Mail_inbox
mkdir -p ~/.gnupg
mkdir -p ~/.i3
-ls ~/config/ | grep -vE "(README|TODO|elinks|mutt|vim)" | while read l; do ln -s ~/config/$l ~/.$l; done
+ls ~/config/ | grep -vE "(README|TODO|elinks|mutt|vim|zsh)" | while read l; do ln -s ~/config/$l ~/.$l; done
mkdir -p ~/.mutt
for a in ~/config/mutt/*; do ln -s $a ~/.mutt/; done
ln -s ~/config/elinks ~/.elinks/elinks.conf
-mkdir -p ~/.vim
-for a in ~/config/vim/*
+
+for app in vim zsh
do
- ln -s $a ~/.vim/
+ mkdir -p ~/.$app
+ for a in ~/config/$app/*
+ do
+ ln -s $a ~/.$app/
+ done
done
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.zsh/zshrc ~/.zshrc
+touch ~/.zsh/ps1
+
ln -s ~/config/gtk/gtkrc-2.0 ~/.gtkrc-2.0
ln -s ~/config/gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
ln -s ~/config/gnupg/gpg.conf ~/.gnupg/gpg.conf