Skip to content

Commit

Permalink
update zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
goshacmd committed Feb 19, 2013
1 parent 9507bd0 commit 2bcd98e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 29 deletions.
8 changes: 7 additions & 1 deletion gitconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[core]
editor = vim -f
quotepath = false
excludesfile = ~/.gitignore
excludesfile = /opt/boxen/config/git/gitignore

[user]
name = Gosha Arinich
Expand All @@ -28,3 +28,9 @@

[push]
default = current

[hub]
protocol = https

[credential]
helper = /opt/boxen/bin/boxen-git-credential
28 changes: 0 additions & 28 deletions zshrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
export PROJECTSDIR=$HOME/Projects
export PROJDIR=$PROJECTSDIR
export CODEDIR=$PROJECTSDIR

if [[ -e $HOME/.dotfiles_location ]]; then
export DOTFILES=$(cat $HOME/.dotfiles_location)
else
export DOTFILES=$CODEDIR/dotfiles
echo "~/.dotfiles_location not found, reinstall dotfiles"
fi

ZSH=$HOME/.oh-my-zsh
ZSH_THEME="sammy"

Expand Down Expand Up @@ -53,20 +42,6 @@ export LANGUAGE=en_US.UTF-8
export EDITOR="vim -f"
export VISUAL=$EDITOR

export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin
export PATH=$DOTFILES/bin:$PATH

if [[ -e $HOME/.cljr/bin ]]; then
export PATH=$HOME/.cljr/bin:$PATH
fi

if [[ -e /usr/local/Cellar/clojure-contrib/1.2.0/clojure-contrib.jar ]]; then
export CLASSPATH=$CLASSPATH:/usr/local/Cellar/clojure-contrib/1.2.0/clojure-contrib.jar
fi

# Rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi

# Local settings
if [[ -e $HOME/.zshrc.local ]]; then source $HOME/.zshrc.local; fi

Expand All @@ -79,6 +54,3 @@ if [[ -e $HOME/.zshrc.local ]]; then source $HOME/.zshrc.local; fi
# ||----w |
# || ||
[[ -e $(which fortune) ]] && fortune | (cowsay || cat) 2&> /dev/null | (lolcat || cat) 2&>/dev/null

### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"

0 comments on commit 2bcd98e

Please sign in to comment.