Last active
September 30, 2015 01:05
Revisions
-
clathrop revised this gist
Sep 8, 2015 . 1 changed file with 26 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,44 @@ parse_git_branch() { git branch 2>/dev/null | grep \* | sed -ne 's#\* ##p' | awk -F / '{print " [GIT:"$0 "]"}' } export PS1='\[\033[00;32m\]\w\[\033[00m\]$(parse_git_branch)\$ ' ########### ALIASES ############## #commands to change window size, big and small alias smw="printf '\033[8;25;100t'" alias lgw="printf '\033[8;50;150t'" #quick edit bash profile alias ebash="subl ~/.bash_profile" alias vibash="vi ~/.bash_profile" #lookin at stuff alias l="ls" alias ll="ls -l" alias la="ls -a" alias lla="ls -la" #startups and shutdowns alias jiveup="mvn -DskipTests=true -Dcargo.wait=true -P int cargo:start" alias psqlup="pg_ctl start -D /usr/local/var/postgres/ -l /usr/local/Cellar/postgresql/9.4.4/logs/logfile" alias iupl="/Users/clathrop/work/informatica/informatica-aem/author/crx-quickstart/bin/start; tail -100f /Users/clathrop/work/informatica/informatica-aem/author/crx-quickstart/logs/error.log" #accessing envs alias sshinfadevauth="ssh [email protected]" alias sshinfadevpub="ssh [email protected]" export CLICOLOR=1 export PATH=$PATH:/Applications/Sublime\ Text.app/Contents/SharedSupport/bin:/usr/local/apache-maven-3.2.5/bin:/Users/clathrop/work/adobe-aem/author/crx-quickstart/bin export JAVA_HOME=$(/usr/libexec/java_home -v 1.7) export ITUNES_HOME="${HOME}/Music/iTunes" export GROOVY_HOME="/usr/local/groovy-2.4.3" export MVN_HOME="/usr/local/apache-maven-3.2.5" export M3_HOME=$MVN_HOME export M2_HOME=$MVN_HOME export M2_REPO="/Users/clathrop/.m2/repository" export M3_REPO=$M2_REPO #for when i had bashrc as main profile, now just use bash_profile since it is loaded by default on shell login #source ~/.bashrc eval "$(chef shell-init bash)" -
clathrop created this gist
Jul 15, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ parse_git_branch() { git branch 2>/dev/null | grep \* | sed -ne 's#\* ##p' | awk -F / '{print " [GIT:"$0 "]"}' } export PS1='\[\033[00;32m\]\w\[\033[00m\]$(parse_git_branch)\$ ' #export PS1='\[\033[00;32m\]\w\[\033[00m\]$(parse_git_branch)\$ ' #commands to change window size, big and small alias smw="printf '\033[8;25;100t'" alias lgw="printf '\033[8;50;150t'" export CLICOLOR=1 export PATH=$PATH:/Applications/Sublime.app/Contents/SharedSupport/bin:/usr/local/groovy-2.4.3/bin:/usr/local/gradle-2.4/bin:/usr/local/apache-ant-1.9.4/bin:/usr/local/Cellar/maven/3.3.3/libexec/bin export JAVA_HOME=$(/usr/libexec/java_home) export ITUNES_HOME="${HOME}/Music/iTunes" export GROOVY_HOME="/usr/local/groovy-2.4.3" #for when i had bashrc as main profile, now just use bash_profile since it is loaded by default on shell login #source ~/.bashrc