Skip to content

Instantly share code, notes, and snippets.

@BigHeadCreations
Created September 15, 2015 03:18
Show Gist options
  • Select an option

  • Save BigHeadCreations/483fc4842f24aa17b6d2 to your computer and use it in GitHub Desktop.

Select an option

Save BigHeadCreations/483fc4842f24aa17b6d2 to your computer and use it in GitHub Desktop.

Revisions

  1. BigHeadCreations created this gist Sep 15, 2015.
    37 changes: 37 additions & 0 deletions .bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    #########
    # Aliases
    #########
    # General aliases
    alias ll="ls -lah"
    alias www="cd /Applications/MAMP/htdocs/"
    alias sshfc="ssh [email protected]"
    alias sshrack="ssh [email protected]"
    alias web="cd /Applications/MAMP/htdocs/webpower-ce"
    alias klg="cd /Applications/MAMP/htdocs/klg-frontend"

    # Git aliases
    alias gs="git status"
    alias gb="git branch"
    alias gba="git branch -a"
    alias gl="git log --oneline"
    alias gdt="git diff > tmpDiff.txt | subl tmpDiff.txt"
    alias rmt="rm tmpDiff.txt"
    alias gsl="git stash list"
    alias gco="git checkout"

    ########
    # Prompt
    ########
    export PS1="________________________________________________________________________________\n| \h (\u) @ \w \n| $ "
    export PS2="| => "

    ########
    # Add color to the Terminal
    ########
    export CLICOLOR=1
    export LSCOLORS=ExFxBxDxCxegedabagacad

    ######
    # Homebrew cask options
    #####
    export HOMEBREW_CASK_OPTS="--appdir=/Applications"