Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PATH cleanup. How many years has /usr/ucb been kicking around in there?

I'm gonna guess it might be 20.
  • Loading branch information...
commit 3cfe0d570d58c1c8024882e0c26bf6faf67891b7 1 parent 31b03bb
@ceejbot authored
Showing with 10 additions and 19 deletions.
  1. +10 −19 zsh/zshrc
View
29 zsh/zshrc
@@ -87,18 +87,20 @@ function __git_prompt {
}
# use the git state of the current directory
-#export RPS1='$(__git_prompt)'
+# export RPS1='$(__git_prompt)'
export PROMPT='%B%m:%c>%b '
umask 022
export HOME=/Users/ceej
function powerline_precmd()
{
-# export PS1="$(/Users/ceej/source/powerline-bash/powerline-bash.py $? --shell zsh)"
- export PS1="$(/Users/ceej/bin/powerline.js $? --shell zsh)"
+ # export PS1="$(/Users/ceej/source/powerline-bash/powerline-bash.py $? --shell zsh)"
+ export PS1="$(~/bin/powerline.js --depth 3 $?)"
+ # export RPS1="$(~/bin/powerline.js --right --repo-only)"
}
-precmd_functions+=(powerline_precmd)
+precmd_functions=(powerline_precmd)
+
##########
# environment variables
@@ -108,23 +110,12 @@ export VISUAL=/usr/bin/vi
#export EDITOR=/usr/bin/vi
export EDITOR="/usr/bin/bbedit -w"
-# perforce
-#export P4PORT=perforce.danger.com:1666
-#export P4USER=ceej
-#export P4CLIENT=ceej-air
-#export P4MERGE=/Users/ceej/bin/p4merge
-#export P4DIFF=/Users/ceej/bin/p4diff
-
# subversion & git
alias svnChangeLog="svn log --xml --verbose | ~/bin/svn2cl.py > ChangeLog"
alias svnopened='svn status -q'
alias gitChangeLog="git log --name-status --decorate > ChangeLog"
-alias opened='git status -sb'
-
-#export JAVA_HOME=/usr
-#export PYTHONPATH="~/source/"
-export PATH=:$HOME/bin:/usr/local/Cellar/ruby/1.9.2-p180/bin:/usr/local/sbin:/usr/local/bin:$PATH:/usr/local/etc/apache/support:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/etc:/usr/bin:/local/bin:/local/bin/mh:/usr/ucb:/usr/games:/usr/local/armdev/bin:/usr/local/javacc-4.0/bin
+export PATH=$HOME/bin:/usr/local/Cellar/ruby/1.9.2-p180/bin:/usr/local/share/npm/bin:/usr/local/sbin:$PATH:/usr/local/etc/apache/support:/usr/bin/X11:/usr/etc:/usr/games
# ah, nethack!
export NETHACKOPTIONS="catname:Kitsune,dogname:Spike,!mail,time,!autopickup,fruit:kumquat"
@@ -154,8 +145,8 @@ alias procs="ps gauxww | grep"
alias spell="aspell -l"
-#export GEM_HOME='/usr/local/Cellar/gems/1.8'
-export NODE_PATH='/usr/local/lib/node'
-
alias bundrino='bundle exec padrino'
alias god="/Users/ceej/.rbenv/shims/god"
+
+### Added by the Heroku Toolbelt
+export PATH="/usr/local/heroku/bin:$PATH"
Please sign in to comment.
Something went wrong with that request. Please try again.