Skip to content

Instantly share code, notes, and snippets.

@pce
Created February 29, 2012 22:22
Show Gist options
  • Save pce/1944939 to your computer and use it in GitHub Desktop.
Save pce/1944939 to your computer and use it in GitHub Desktop.
cat ~/.zshrc
# PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m%{$fg[yellow]%}%~%{$reset_color%}%%"
local blue_op="%{$fg[blue]%}[%{$reset_color%}"
local blue_cp="%{$fg[blue]%}]%{$reset_color%}"
local path_p="${blue_op}%~${blue_cp}"
local user_host="${blue_op}%n@%m${blue_cp}"
local ret_status="${blue_op}%?${blue_cp}"
local hist_no="${blue_op}%h${blue_cp}"
local smiley="%(?,%{$fg[green]%}:%)%{$reset_color%},%{$fg[red]%}:(%{$reset_color%})"
PROMPT="╭─${path_p}─${user_host}
╰─${blue_op}${smiley}${blue_cp} %# "
local cur_cmd="${blue_op}%_${blue_cp}"
PROMPT2="${cur_cmd}> "
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
unsetopt beep
bindkey -e
SAVEHIST=1000
unsetopt beep
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/pce/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
alias zf=/usr/local/ZendFrameworkCli/bin/zf.sh
export PHP_COMMAND=/usr/bin/php
export PHING_HOME=/opt/phing
export PHP_CLASSPATH=${PHING_HOME}/classes
export PATH=${PATH}:${PHING_HOME}/bin
export PATH=${PATH}:${HOME}/android-sdk-linux_86/tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment