Skip to content

Instantly share code, notes, and snippets.

@bsod90
Last active July 9, 2018 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsod90/14f51c3fb9c4099d34c9f1728852d4bb to your computer and use it in GitHub Desktop.
Save bsod90/14f51c3fb9c4099d34c9f1728852d4bb to your computer and use it in GitHub Desktop.
Extra stuff in .zshrc
# I really like this minimalistic zsh theme.
export ZSH_THEME="refined"
# This is important if you'd like to use TrueColor themes in Neovim
export NVIM_TUI_ENABLE_TRUE_COLOR=1
# This makes Neovim your default editor
export VISUAL=nvim
export EDITOR="$VISUAL"
# ag (silversearcher-ag) is a faster grep
# I recommend using it if you have to deal with large codebases
# Install it by running `sudo apt-get install silversearcher-ag`
# The variable below makes it a default command to be used by
# fzf for a file path search
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
# A few useful aliases
alias awk1="awk '{print \$1}'"
alias awk2="awk '{print \$2}'"
alias awk3="awk '{print \$3}'"
alias awk4="awk '{print \$4}'"
alias kgp="kubectl get pods"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment