Skip to content

Commit

Permalink
New aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
spicycode committed Sep 25, 2012
1 parent 0728f93 commit 3164769
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .zsh/aliases.zsh
Expand Up @@ -9,5 +9,7 @@ alias ri='ri -Tf ansi'
alias mysql='mysql -u root'
alias mysqladmin='mysqladmin -u root'

alias e='aquamacs'
alias be='bundle exec'
alias bx='bundle exec'

alias gentags='ctags .'
15 changes: 3 additions & 12 deletions .zsh/exports.zsh
@@ -1,8 +1,5 @@
# Currently this path is appendend to dynamically when picking a ruby version
export PATH=~/.rbenv/bin:~/.bin:/usr/local/sbin:/usr/local/bin:/usr/local/share/npm/bin:$PATH

# Our list of directories we can cd to from anywhere
export CDPATH=.:~/src/
export PATH=bin:script:~/.rbenv/bin:~/.bin:node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/local/share/npm/bin:$PATH

# Set default console Java to 1.6
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
Expand All @@ -23,15 +20,9 @@ export LESS='--ignore-case --raw-control-chars'
export PAGER='less'
export EDITOR='vim'

export NODE_PATH=/usr/local/lib/node
export NODE_PATH=/opt/github/homebrew/lib/node_modules
export PYTHONPATH=/usr/local/lib/python2.6/site-packages
# CTAGS Sorting in VIM/Emacs is better behaved with this in place
export LC_COLLATE=C

# For the custom built ruby 1.9.3 I rocks
# https://gist.github.com/1688857
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
export GH_ISSUE_CREATE_TOKEN=083f60c674d8eb41f98258df9fc8d94cb733218a
12 changes: 10 additions & 2 deletions .zsh/functions.zsh
Expand Up @@ -54,9 +54,17 @@ function mysql_stop {
}

function ss {
./script/rails server $*
if [ -e script/server ]; then
script/server $@
else
script/rails server $@
fi
}

function sc {
./script/rails console $*
if [ -e script/rails ]; then
script/rails console $@
else
script/console $@
fi
}
3 changes: 1 addition & 2 deletions .zshrc
Expand Up @@ -9,5 +9,4 @@ source ~/.zsh/functions.zsh
source ~/.zsh/history.zsh
source ~/.zsh/zsh_hooks.zsh
source ~/.zsh/hitch.zsh

eval "$(rbenv init -)"
source /opt/github/env.sh

0 comments on commit 3164769

Please sign in to comment.