Created
February 9, 2019 16:18
-
-
Save onstatus/df35f7c9f94eb850d451672731916af2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "[Config] Installing archlinuxfr" | |
echo >> /etc/pacman.conf<<EOF | |
[archlinuxfr] | |
SigLevel = Never | |
Server = http://repo.archlinux.fr/$arch | |
EOF | |
echo "[Update] Updating repositories" | |
pacman -Sy | |
echo "[Install] Install usefull packages" | |
pacman -S git python python-pip curl yaourt zsh openssh vim | |
echo "[Shell] Switch to zsh" | |
zsh | |
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
setopt EXTENDED_GLOB | |
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do | |
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" | |
done | |
chsh -s /bin/zsh | |
source .zshrc | |
echo "[Theme] Change zsh theme" | |
echo >> ~/.zpreztorc<<EOF | |
zstyle ':prezto:load' pmodule \ | |
'environment' \ | |
'terminal' \ | |
'editor' \ | |
'history' \ | |
'directory' \ | |
'spectrum' \ | |
'utility' \ | |
'completion' \ | |
'contrib-prompt' \ | |
'prompt' \ | |
'git' | |
zstyle ':prezto:module:prompt' theme 'sorin_contrib' | |
EOF | |
echo "[Theme] Change vim theme to Dracula" | |
echo >> /etc/vimrc<<EOF | |
set t_Co=256 | |
set background=dark | |
syntax on | |
set nocompatible | |
set paste | |
filetype plugin indent on | |
set cursorline | |
set directory=/tmp | |
set nu | |
EOF | |
#cd ~/.vim | |
#mkdir colors && cd colors | |
#wget https://github.com/dracula/vim/blob/master/colors/dracula.vim | |
echo "[Theme] Add Powerline plugin" | |
pip install --user git+git://github.com/Lokaltog/powerline | |
echo >> ~/.profile<<EOF | |
if [ -d "$HOME/.local/bin" ]; then | |
PATH="$HOME/.local/bin:$PATH" | |
fi | |
EOF | |
git clone https://github.com/powerline/fonts.git | |
cd fonts && ./install.sh | |
POWERLINE_LOCATION=$(pip show powerline-status | grep Location | cut -d : -f2 ) | |
echo >> /etc/vimrc<<EOF | |
POWERLINE_LOCATION=$(pip show powerline-status | grep Location | cut -d : -f2 ) | |
set rtp+=$POWERLINE_LOCATION/powerline/bindings/vim/ | |
set laststatus=2 | |
#echo >> ~/.zshrc<<EOF | |
#POWERLINE_LOCATION=$(pip show powerline-status | grep Location | cut -d : -f2 ) | |
#. $POWERLINE_LOCATION/powerline/bindings/zsh/powerline.zsh | |
#EOF | |
echo "[Theme] Add Arc Ant GTK theme" | |
cd /usr/share/themes/ | |
git clone https://github.com/EliverLara/Ant.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment