Skip to content

Instantly share code, notes, and snippets.

@rroblak
Last active August 29, 2015 14:18
Show Gist options
  • Save rroblak/5ebd94f5c28f03d767a6 to your computer and use it in GitHub Desktop.
Save rroblak/5ebd94f5c28f03d767a6 to your computer and use it in GitHub Desktop.
.zshrc
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
setopt appendhistory autocd extendedglob notify
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/Users/roblak/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
#
# Allow tab completion in the middle of a word
setopt COMPLETE_IN_WORD
export PATH=/usr/local/bin:$PATH
# Antigen
source ~/lib/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle command-not-found
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
antigen theme robbyrussell
# Tell antigen that you're done.
antigen apply
# Needed for Homebrew install of rbenv
export RBENV_ROOT=/usr/local/var/rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
# Needed for tmuxinator
export EDITOR="vim"
compdef g=git
function g {
if [[ -z "$@" ]]
then
git status
else
git "$@"
fi
}
alias tsd='tmuxinator start default'
# ctrl-u shouldn't kill the whole line
bindkey '^U' backward-kill-line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment