diff --git a/install_tools_arch.sh b/install_tools_arch.sh index 7057863..0bc6817 100644 --- a/install_tools_arch.sh +++ b/install_tools_arch.sh @@ -10,6 +10,9 @@ cd $HOME # Install the minimal toolset to bootstrap out process sudo pacman -Syu +# Install the development requirements so we can use aur packages +sudo pacman -S --needed base-devel +# System basics for everything after this point sudo pacman -S curl wget git zsh vim tmux # Install OhMyZSH @@ -18,9 +21,26 @@ cd $HOME/build/oh-my-zsh curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -o install.sh chmod +x install.sh $env sh install.sh +cd $HOME -# Install Other Essential Tools +# Install package-query for yaourt +cd $HOME/build +git clone https://aur.archlinux.org/package-query.git +cd package-query +makepkg -sri + +# Install yaourt +cd $HOME/build +git clone https://aur.archlinux.org/yaourt.git +cd yaourt +makepkg -sri +# Do a proper update including aur +cd $HOME +yaourt -Syua + +# Install Other Essential Tools +yaourt -S lsb-release screenfetch # Return to where we started -cd #opwd +cd $opwd diff --git a/vimrc b/vimrc index 926b86c..29b772e 100644 --- a/vimrc +++ b/vimrc @@ -169,7 +169,9 @@ set statusline+=%m%r%h "File mode/status set statusline+=\ %y "File type set statusline+=\ %w set statusline+=\ \ CWD:\ %r%{getcwd()}%h -set statusline+=\ \ \ Line:\ %l.%c/%L +set statusline+==%= " left/right seperator +set statusline+=Line:\ %l.%c/%L "line and column count +set statusline+=\ %P "percentage of document " Set the statusline color based on the current mode au InsertEnter * call InsertStatusLineColor(v:insertmode)