Fix links

This commit is contained in:
Fabian Ising
2017-05-24 16:59:32 +02:00
parent ca27cde38d
commit 7eed56c936
5 changed files with 27 additions and 12 deletions

11
.gitmodules vendored
View File

@@ -0,0 +1,11 @@
[submodule "plugins/tpm"]
path = tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm.git
[submodule "antigen"]
path = zsh/antigen
url = https://github.com/zsh-users/antigen.git
[submodule "bundle/Vundle.vim"]
path = vim/bundle/Vundle.vim
url = https://github.com/VundleVim/Vundle.vim.git

View File

@@ -8,10 +8,11 @@
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
echo "ln -s $PWD/vim $HOME/.vim"
ln -Tsv $PWD/vim $HOME/.vim
ln -Tsv ~/.vim/.vimrc $HOME/.vimrc
ln -Tsv $PWD/zsh $HOME/.zsh
ln -Tsv ~/.zsh/.zshrc $HOME/.zshrc
ln -Tsv $PWD/tmux $HOME/.tmux
ln -Tsv ~/.tmux/.tmux.conf $HOME/.tmux.conf

View File

@@ -6,7 +6,7 @@
# Distributed under terms of the MIT license.
#
zsh
echo "exit" | zsh
chsh -s /usr/bin/zsh
tmux
echo ":PluginInstall" | vim

View File

@@ -7,5 +7,5 @@
#
for filename in .config/*; do
ln -s $PWD/$filename ~/$filename
ln -Ts $PWD/$filename $HOME/$filename
done

View File

@@ -6,10 +6,13 @@
# 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
sudo pacman --needed -Sy archlinux-keyring --noconfirm
sudo pacman --needed -Syu --noconfirm
yes | sudo pacman --needed -Sy vte3-ng
sudo pacman --needed -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
if [ $SHELL != "/bin/zsh" ]; then
chsh -s /usr/bin/zsh;
fi