Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added more aliases

  • Loading branch information...
commit cc825f0142a30bbf55a5786ef6c47c678390c5b9 1 parent 8ed65ef
Adam Scott authored

Showing 1 changed file with 78 additions and 0 deletions. Show diff stats Hide diff stats

  1. +78 0 .zshrc
78 .zshrc
... ... @@ -0,0 +1,78 @@
  1 +# Path to your oh-my-zsh configuration.
  2 +ZSH=$HOME/.oh-my-zsh
  3 +
  4 +# Set name of the theme to load.
  5 +# Look in ~/.oh-my-zsh/themes/
  6 +# Optionally, if you set this to "random", it'll load a random theme each
  7 +# time that oh-my-zsh is loaded.
  8 +ZSH_THEME="ascott"
  9 +
  10 +# -------------------------------------------------------------------
  11 +# Basic
  12 +# -------------------------------------------------------------------
  13 +alias h='cd ~'
  14 +alias c='clear'
  15 +alias ...="cd ../.."
  16 +alias hc='cd ~ && clear'
  17 +alias ll="ls -lhF"
  18 +alias lla="ls -lAhF"
  19 +alias dir_size="du -sh"
  20 +alias hiddenOn='defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder'
  21 +alias hiddenOff='defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder'
  22 +
  23 +# -------------------------------------------------------------------
  24 +# Git
  25 +# -------------------------------------------------------------------
  26 +alias ga='git add'
  27 +alias gp='git push'
  28 +alias gl='git log'
  29 +alias gs='git status'
  30 +alias gd='git diff'
  31 +alias gm='git commit -m'
  32 +alias gma='git commit -am'
  33 +alias gb='git branch'
  34 +alias gc='git checkout'
  35 +alias gra='git remote add'
  36 +alias grr='git remote rm'
  37 +alias gpu='git pull'
  38 +alias gcl='git clone'
  39 +alias gta='git tag -a -m'
  40 +alias gf='git reflog'
  41 +
  42 +# -------------------------------------------------------------------
  43 +# Rails
  44 +# -------------------------------------------------------------------
  45 +alias b='bundle'
  46 +alias migrate='rake db:migrate && rake db:test:prepare'
  47 +alias bundle_migrate='bundle exec rake db:migrate && bundle exec db:test:prepare'
  48 +
  49 +# Set to this to use case-sensitive completion
  50 +# CASE_SENSITIVE="true"
  51 +
  52 +# Comment this out to disable bi-weekly auto-update checks
  53 +# DISABLE_AUTO_UPDATE="true"
  54 +
  55 +# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
  56 +# export UPDATE_ZSH_DAYS=13
  57 +
  58 +# Uncomment following line if you want to disable colors in ls
  59 +# DISABLE_LS_COLORS="true"
  60 +
  61 +# Uncomment following line if you want to disable autosetting terminal title.
  62 +# DISABLE_AUTO_TITLE="true"
  63 +
  64 +# Uncomment following line if you want red dots to be displayed while waiting for completion
  65 +# COMPLETION_WAITING_DOTS="true"
  66 +
  67 +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  68 +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  69 +# Example format: plugins=(rails git textmate ruby lighthouse)
  70 +plugins=(git)
  71 +
  72 +source $ZSH/oh-my-zsh.sh
  73 +
  74 +# Customize to your needs...
  75 +export PATH=/Users/adamscott/.rvm/gems/ruby-1.9.3-p362/bin:/Users/adamscott/.rvm/gems/ruby-1.9.3-p362@global/bin:/Users/adamscott/.rvm/rubies/ruby-1.9.3-p362/bin:/Users/adamscott/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin
  76 +
  77 +### Added by the Heroku Toolbelt
  78 +export PATH="/usr/local/heroku/bin:$PATH"

0 comments on commit cc825f0

Please sign in to comment.
Something went wrong with that request. Please try again.