Browse Source

Updated Install script and vimrc statusline

Added package-query and yaourt to the arch install script

Added a left/right seperator to the vim statusline
master
Drew Short 9 years ago
parent
commit
aaeec9e98f
  1. 24
      install_tools_arch.sh
  2. 4
      vimrc

24
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

4
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)

Loading…
Cancel
Save