Created
December 14, 2015 05:57
-
-
Save cbarraco/da0ec61206fcdc7027e3 to your computer and use it in GitHub Desktop.
Install a bunch of stuff I like for a fresh install of arch
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
#!/bin/sh | |
# install pacaur | |
cd | |
sudo pacman -S --noconfirm wget expac git | |
wget https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz | |
tar -xvf cower.tar.gz | |
cd cower | |
makepkg --skipinteg | |
sudo pacman -U cower-14-2-x86_64.pkg.tar.xz | |
cd | |
rm -rf cower | |
rm cower.tar.gz | |
wget https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz | |
tar -xvf pacaur.tar.gz | |
cd pacaur | |
makepkg | |
sudo pacman -U pacaur-4.4.1-1-any.pkg.tar.xz | |
rm -rf pacaur | |
rm pacaur.tar.gz | |
cd | |
# install some basic stuff | |
pacaur -S --color always --noconfirm --noedit vim ranger dtrx google-chrome cmus ffmpeg mpv | |
# set up zsh | |
pacaur -S --color always --noedit --noconfirm zsh | |
chsh -s /bin/zsh | |
sudo chsh -s /bin/zsh | |
wget https://raw.githubusercontent.com/tarjoilija/zgen/master/zgen.zsh | |
zshrc="#!/usr/bin/zsh \n | |
# Lines configured by zsh-newuser-install \n | |
HISTFILE=~/.histfile \n | |
HISTSIZE=10000 \n | |
SAVEHIST=10000 \n | |
unsetopt beep \n | |
bindkey -e \n | |
# End of lines configured by zsh-newuser-install \n | |
# The following lines were added by compinstall \n | |
zstyle :compinstall filename \"${HOME}/.zshrc\" \n | |
autoload -Uz compinit \n | |
compinit \n | |
# End of lines added by compinstall \n | |
source \"${HOME}/zgen.zsh\" \n | |
if ! zgen saved; then \n | |
zgen oh-my-zsh \n | |
zgen load zsh-users/zsh-history-substring-search \n | |
zgen load zsh-users/zsh-syntax-highlighting \n | |
zgen load zsh-users/zsh-completions src \n | |
zgen save \n | |
fi \n | |
PS1=\"%/ \n | |
%# \" \n | |
source ~/.aliases" | |
echo $zshrc > ${HOME}/.zshrc | |
# install vundle | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment