Created
February 19, 2014 00:38
-
-
Save hdemon/9083786 to your computer and use it in GitHub Desktop.
config.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## path | |
# | |
# PATH $PATH:/sw/bin:/sw/sbin | |
# PATH $PATH:$HOME/bin:/sbin:/usr/sbin:~/.nave | |
# PATH $PATH:/opt/local/bin:/opt/local/sbin/ | |
# PATH $PATH:/usr/local/share/npm/bin | |
# PATH $HOME/.nodebrew/current/bin:$PATH | |
# MANPATH /opt/local/man:$MANPATH | |
## aliases | |
# general | |
alias s "sudo" | |
alias agi "sudo apt-get install" | |
alias acs "sudo apt-cache search" | |
# syntax highlighted file viewer | |
alias c 'pygmentize -O style monokai -f console256 -g' | |
alias ls "ls -aG" | |
alias lv "lv -ac" | |
alias la "ls -a" | |
alias lf "ls -aF" | |
alias ll "ls -al" | |
alias em "emacs -nw" | |
alias e "subl -b" | |
# for development | |
# alias -g ROL ’ruby -p -e’ | |
alias re "rbenv exec" | |
alias be "rbenv exec bundle exec" | |
alias ber "rbenv exec bundle exec rails" | |
alias berk "rbenv exec bundle exec rake" | |
alias bers "rbenv exec bundle exec rails server" | |
alias berp "rbenv exec bundle exec rspec" | |
alias compcomp "rbenv exec bundle exec compass watch --output-style compressed" | |
alias comp "rbenv exec bundle exec compass watch" | |
# git | |
alias g "git" | |
alias gap "git add -p" | |
alias gcm "git commit" | |
alias gcma "git commit --amend" | |
alias gco "git checkout" | |
alias gcoa "git checkout -- ." | |
alias gdi "git diff" | |
alias gdic "git diff --cached" | |
alias gst "git status -s -b && git stash list" | |
alias gss "git stash" | |
alias gsp "git stash pop" | |
alias grb "git rebase -i HEAD~20" | |
alias grbc "git rebase --continue" | |
alias grba "git rebase --abort" | |
# alias glg "git log-graph -n 30" | |
alias glg "git log-graph" | |
alias glgg "git logg" | |
alias gpom "git push origin master" | |
alias grhh "git reset --hard HEAD^" | |
alias grhs "git reset --soft HEAD^" | |
alias grha "git reset HEAD -- ." | |
alias grorig "git reset --hard ORIG_HEAD" | |
# application | |
alias safari "open -a webkit" | |
# alias photoshop "open -a /Applications/Adobe\ Photoshop\ CS6/Adobe\ Photoshop\ CS6.app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment