Created
September 25, 2015 15:21
-
-
Save iancullinane/7f4231dd616949a67d64 to your computer and use it in GitHub Desktop.
This file contains hidden or 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="/Library/Frameworks/Python.framework/Versions/2.7/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
| #export PATH | |
| #CHEF_ORGNAME=techops-dev | |
| #CHEF_DOMAIN=fos.pri | |
| export CHEF_ORGNAME | |
| export CHEF_DOMAIN | |
| export CLICOLOR=1 | |
| export LSCOLORS=ExFxBxDxCxegedabagacad | |
| #export VAGRANT_SERVER_URL=https://vagrantcloud.dgs.io | |
| #Git alias' | |
| alias ll='ls -alh' | |
| alias .l='cd ..; ll' | |
| alias ga='git add' | |
| alias gp='git push' | |
| alias gl='git log' | |
| alias gs='git status' | |
| alias gd='git diff' | |
| alias gm='git commit -m' | |
| alias gma='git commit -am' | |
| alias gb='git branch' | |
| alias gc='git checkout' | |
| alias gra='git remote add' | |
| alias grr='git remote rm' | |
| alias gpu='git pull' | |
| alias gcl='git clone' | |
| alias cd..='cd ..' | |
| alias home-dev='cd /Users/icullinane/dev' | |
| alias DT='tee ~/Desktop/terminalOut.txt' | |
| alias dockify='. "/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh"' | |
| alias attachd="attachd" | |
| function attachd | |
| { | |
| eval "$(docker-machine env default)" | |
| echo "Docker machine attached" | |
| } | |
| # Docker command | |
| #alias dlast='docker ps -l -q' | |
| #alias = | |
| #alias = | |
| # if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| # . `brew --prefix`/etc/bash_completion | |
| # fi | |
| # if [ -f `brew --prefix`/etc/bash_completion.d/git-prompt.sh ]; then | |
| # . `brew --prefix`/etc/bash_completion.d/git-prompt.sh | |
| # fi | |
| # GIT_PS1_SHOWDIRTYSTATE=true | |
| # GIT_PS1_SHOWCOLORHINTS=true | |
| # GIT_PS1_SHOWSTASHSTATE=true | |
| # GIT_PS1_SHOWUNTRACKEDFILES=true | |
| # GIT_PS1_SHOWUPSTREAM="auto" | |
| # PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ 'cd | |
| function next_hue | |
| { | |
| color1=$((31 + (++color % 7))) # set 31 to 30 for dark on light | |
| color1=$((31 + (++color % 7))) | |
| PS1="\n\e[0:${color}m[\W]\n\e[0:${color}m[\u]-> $reset" # set 1 to 0 for dark on light | |
| } | |
| function random_hue | |
| { | |
| color1=$(($RANDOM % 7 + 31)) # set 31 to 30 for dark on light | |
| color2=$(($RANDOM % 7 + 31)) # set 31 to 30 for dark on light | |
| PS1='\n\e[0:${color1}m[\W]\n\e[0:${color2}m[\u]->\e[m ' # set 1 to 0 for dark on light | |
| } | |
| #PROMPT_COMMAND="random_hue" | |
| PS1='\n\W\n[\u]->' | |
| export JAVA_HOME=$(/usr/libexec/java_home) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment