Add arch setup first version
This commit is contained in:
@@ -8,3 +8,10 @@
|
|||||||
|
|
||||||
|
|
||||||
git submodule update --init --recursive
|
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
|
||||||
|
|
||||||
|
|||||||
12
general_setup.sh
Executable file
12
general_setup.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# general_setup.sh
|
||||||
|
# Copyright (C) 2016 fabian <fabian@testvm>
|
||||||
|
#
|
||||||
|
# Distributed under terms of the MIT license.
|
||||||
|
#
|
||||||
|
|
||||||
|
zsh
|
||||||
|
chsh -s /usr/bin/zsh
|
||||||
|
tmux
|
||||||
|
echo ":PluginInstall" | vim
|
||||||
11
link_config.sh
Executable file
11
link_config.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# link_config.sh
|
||||||
|
# Copyright (C) 2016 fabian <fabian@testvm>
|
||||||
|
#
|
||||||
|
# Distributed under terms of the MIT license.
|
||||||
|
#
|
||||||
|
|
||||||
|
for filename in .config/*; do
|
||||||
|
ln -s $PWD/$filename ~/$filename
|
||||||
|
done
|
||||||
15
setup_arch.sh
Executable file
15
setup_arch.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# clone_and_link.sh
|
||||||
|
# Copyright (C) 2016 fabian <fabian@fabi-laptop-arch>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
Reference in New Issue
Block a user