Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New aliases

  • Loading branch information...
commit 3164769c0fd90146675c563607a44059611bee6a 1 parent 0728f93
@spicycode authored
View
4 .zsh/aliases.zsh
@@ -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 .'
View
15 .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
@@ -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
View
12 .zsh/functions.zsh
@@ -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
}
View
3  .zshrc
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.