Skip to content

Instantly share code, notes, and snippets.

@unphased
Last active December 13, 2015 16:48
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 unphased/4942610 to your computer and use it in GitHub Desktop.
Save unphased/4942610 to your computer and use it in GitHub Desktop.
My zsh-theme

GO HERE for theme file

Independent tweaks for zsh (put in .zshrc) follow:

# for oh my zsh plugins that are nice
plugins=(git cp osx zsh-syntax-highlighting) 

# no idea why oh my zsh does not take the existing path. hardcoding this is *bad*
export PATH=~/bin:~/util:$PATH:/usr/local/share/npm/bin
export PAGER=vimpager

# zmodload zsh/complist
# bindkey -M menuselect ' ' accept-and-infer-next-history
# bindkey -M menuselect '^?' undo

bindkey '^[[A' up-line-or-search
bindkey '^[[B' down-line-or-search

stty -ixon # for letting Vim see Ctrl+S
stty -ixoff
source $ZSH/plugins/history-substring-search/history-substring-search.plugin.zsh # somehow the other ways to enable this fail
alias g="git-diff-puppet"
echo "Finished loading my .zshrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment