Skip to content

Instantly share code, notes, and snippets.

@hojberg
Created November 27, 2009 13:36
Show Gist options
  • Save hojberg/244021 to your computer and use it in GitHub Desktop.
Save hojberg/244021 to your computer and use it in GitHub Desktop.
# General
alias l='ls -lash -G'
alias ll='ls -lash -G'
alias h='history'
alias flush='sudo dscacheutil -flushcache'
# ruby
alias mygems="gem list | grep ’^[a-zA-Z]’"
# Rails
alias ss='ruby script/server'
alias sc='ruby script/console'
alias sg='ruby script/generate'
# Textmate
alias e='mate'
alias ee='mate app config lib public'
# Apache
alias astart='sudo /apache2/bin/apachectl start'
alias astop='sudo /apache2/bin/apachectl stop'
export PS1="\[\e[37;1m\](\u)\[\e[36;1m\] \h: \w > \[\e[0m\]"
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
export CLICOLOR=1
# use yellow for directories
export LSCOLORS=ExfxcxdxbxegedabagacGx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment