summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-02-13 23:23:19 +0100
committerPatrick Simianer <p@simianer.de>2016-02-13 23:23:19 +0100
commitb1f25105d325dc2dd33586a1023e3b33a51c9b90 (patch)
tree27a00566719734fa7f3f1a1261ab0f834d3c6c51
parente858211df7a771db0c40cc9f7dc3e26032ae3ae2 (diff)
improved setup.sh
-rwxr-xr-xsetup.sh62
1 files changed, 34 insertions, 28 deletions
diff --git a/setup.sh b/setup.sh
index e04de2d..d28801f 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,33 +1,39 @@
#!/bin/zsh -x
-stow -t $HOME clamz
-stow -t $HOME feh
-stow -t $HOME git
-stow -t $HOME gtk
-stow -t $HOME htop
-stow -t $HOME imwheel
-stow -t $HOME input
-stow -t $HOME khal
-stow -t $HOME moc
-stow -t $HOME mozilla
-stow -t $HOME mpv
-stow -t $HOME multitail
-stow -t $HOME mutt
-stow -t $HOME ncftp
-stow -t $HOME newsbeuter
-stow -t $HOME npm
-stow -t $HOME ratpoison
-stow -t $HOME rtorrent
-stow -t $HOME subversion
-stow -t $HOME tex
-stow -t $HOME theano
-stow -t $HOME tmux
-stow -t $HOME vim
-stow -t $HOME X
-stow -t $HOME zsh
-git submodule foreach git pull origin master
-cd $HOME/.vim/autoload; ln -s ../bundle/pathogen/autoload/pathogen.vim .
-cd $HOME/.urxvt; ln -s urxvt-perls/clipboard .; ln -s urxvt-perls/keyboard-select .; ln -s urxvt-tabbedex/tabbedex .; ln -s urxvt-perls/url-select .
+PKG=(\
+ clamz \
+ feh \
+ git \
+ gtk \
+ htop \
+ imwheel \
+ input \
+ khal \
+ moc \
+ mozilla \
+ mpv \
+ multitail \
+ mutt \
+ ncftp \
+ newsbeuter \
+ npm \
+ ratpoison \
+ rtorrent \
+ subversion \
+ tex \
+ theano \
+ tmux \
+ urxvt \
+ vim \
+ X \
+ xdg \
+ zsh \
+)
+for i in $PKG; do
+ stow -t $HOME $i
+done
+cd $HOME/.vim/autoload; ln -s ../bundle/pathogen/autoload/pathogen.vim .
+cd $HOME/.urxvt; ln -s urxvt-perls/clipboard .; ln -s urxvt-perls/keyboard-select .; ln -s urxvt-tabbedex/tabbedex .; ln -s urxvt-perls/url-select .