Skip to content

Instantly share code, notes, and snippets.

@laurencedorman
Last active September 16, 2016 08:00
Show Gist options
  • Save laurencedorman/ff7fb851af326bf453da to your computer and use it in GitHub Desktop.
Save laurencedorman/ff7fb851af326bf453da to your computer and use it in GitHub Desktop.
zsh theme
local user_host="%{$fg[yellow]%}%}%n@%m%{$reset_color%}"
local current_dir="%{$fg[cyan]%}%8~%{$reset_color%}"
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='${user_host} ${current_dir} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}
${ret_status} %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell"
COMPLETION_WAITING_DOTS="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(sublime history z npm)
# User configuration
# export NODE_PATH="/usr/local/lib/node_modules"
export ANDROID_HOME="/Users/ldorman/Development/android-sdk-macosx"
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/build-tools/21.1.2:${NODE_PATH}"
export JENKINS_USERNAME="ldorman"
export JENKINS_TOKEN="352f8207876fea6e031065123ff0601c"
export _Z_DATA="/Users/ldorman/.zdata/.z"
source $ZSH/oh-my-zsh.sh
alias lah='ll -a'
alias wf='cd /space/www/workflow;'
alias sshpandora='cd /space/www/vagrant-master-boxs/pandora; vagrant ssh pandora;'
alias byebye='sudo shutdown -h now;'
alias whatsmyip='ipconfig getifaddr en0;'
alias whatsmyexternalip='curl ipecho.net/plain; echo;'
alias starwars='telnet towel.blinkenlights.nl;'
alias wconf='wf node project/watch-conf.js;'
alias wicons='wf node project/watch-svg.js;'
alias wsass='wf node project/watch-scss.js;'
alias wjs='wf node project/watch-js.js;'
alias publish='wf node module/module-publisher.js;'
alias ngrok='~/Development/ngrok'
alias gitview='git --no-pager log --decorate --graph --oneline -n 3'
alias gitviewall="gr git --no-pager log --decorate --graph --oneline -n 3"
alias historytime="fc -il 1"
alias lynx='/Applications/Lynxlet.app/Contents/Resources/lynx/bin/lynx'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment