diff --git a/clone_and_link.sh b/clone_and_link.sh index d39b99a..076b08d 100755 --- a/clone_and_link.sh +++ b/clone_and_link.sh @@ -8,3 +8,10 @@ git submodule update --init --recursive +ln -s $PWD/vim ~/.vim +ln -s ~/.vim/.vimrc ~/.vimrc +ln -s $PWD/zsh ~/.zsh +ln -s ~/.zsh/.zshrc ~/.zshrc +ln -s $PWD/tmux ~/.tmux +ln -s ~/.tmux/.tmux.conf ~/.tmux.conf + diff --git a/general_setup.sh b/general_setup.sh new file mode 100755 index 0000000..f41a631 --- /dev/null +++ b/general_setup.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# +# general_setup.sh +# Copyright (C) 2016 fabian +# +# Distributed under terms of the MIT license. +# + +zsh +chsh -s /usr/bin/zsh +tmux +echo ":PluginInstall" | vim diff --git a/link_config.sh b/link_config.sh new file mode 100755 index 0000000..83d8e2a --- /dev/null +++ b/link_config.sh @@ -0,0 +1,11 @@ +#! /bin/sh +# +# link_config.sh +# Copyright (C) 2016 fabian +# +# Distributed under terms of the MIT license. +# + +for filename in .config/*; do + ln -s $PWD/$filename ~/$filename +done diff --git a/setup_arch.sh b/setup_arch.sh new file mode 100755 index 0000000..2a6e620 --- /dev/null +++ b/setup_arch.sh @@ -0,0 +1,15 @@ +#! /bin/sh +# +# clone_and_link.sh +# Copyright (C) 2016 fabian +# +# Distributed under terms of the MIT license. +# + +sudo pacman -Sy archlinux-keyring --noconfirm +sudo pacman -Syu --noconfirm +sudo pacman -Sy base-devel xorg xorg-xinit gnome gnome-extra gvim zsh tmux openssh termite powerline powerline-fonts --noconfirm +./clone_and_link.sh +cp zsh/.powerline_config_arch.example zsh/.powerline_config +cp vim/.vimrc_config_powerline_arch.example vim/.vimrc_config_powerline +chsh -s /usr/bin/zsh