Skip to content

Instantly share code, notes, and snippets.

@KristerV
Last active October 27, 2017 08:50
Show Gist options
  • Save KristerV/d5b6a3a15772dbef2c4385e1e57bc4e7 to your computer and use it in GitHub Desktop.
Save KristerV/d5b6a3a15772dbef2c4385e1e57bc4e7 to your computer and use it in GitHub Desktop.
# ZSH
apt install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cat >> ~/.oh-my-zsh/themes/robbyrussell.zsh-theme <<"EOL"
PROMPT='%{$fg_bold[green]%}$USER%{$reset_color%} ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
EOL
cat >> ~/.zshrc <<"EOL"
zstyle ':completion:*' special-dirs true # ../ tab-completion
EOL
# VIM SPF
curl http://j.mp/spf13-vim3 -L -o - | sh
cat >> ~/.vimrc.local <<"EOL"
set nospell
set mouse-=a
set autoindent expandtab tabstop=4 shiftwidth=4
set pastetoggle=<F4>
set nonumber
set nolist
let g:indent_guides_enable_on_vim_startup = 0
EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment