Created
June 14, 2018 13:31
-
-
Save RaeesBhatti/f4ce4c1e25e054003d105296532ff2da to your computer and use it in GitHub Desktop.
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
HISTCONTROL=ignoreboth | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[033;1m\]\W\[\e[0;37m\]\$(parse_git_branch) \[\e[0m\]\$ " | |
export EDITOR="nano" | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
export GEM_HOME="$HOME/.gem" | |
export GOROOT="/usr/local/Cellar/go/1.10.1/libexec" | |
export GOPATH="$HOME/Projects/go" | |
export GOHOME="$GOPATH/src/github.com/$USER" | |
export ANDROID_HOME="$HOME/Library/Android/sdk" | |
export PATH="$HOME/.bin:$GEM_HOME/bin:/usr/local/sbin:$PATH:$GOROOT/bin:$GOPATH/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$HOME/Library/Python/2.7/bin:/usr/local/opt/node@8/bin" | |
alias ll="ls -lahGFh" | |
alias ls="ls -GFh" | |
#alias keybase="keybase --standalone" | |
alias sldev="$HOME/Projects/serverless/serverless/bin/serverless" | |
alias uuidgenl='uuidgen | tr "[:upper:]" "[:lower:]"' | |
alias go-compile="CompileDaemon -exclude-dir=.git -exclude-dir=.idea -exclude-dir=assets -exclude-dir=node_modules -exclude-dir=vendor -include=*.gohtml -log-prefix=false -graceful-kill=true" | |
if [ -f /usr/local/etc/bash_completion ]; then | |
. /usr/local/etc/bash_completion | |
fi | |
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc' | |
if [ $ITERM_SESSION_ID ]; then | |
export PROMPT_COMMAND='echo -ne "\033];${PWD##*/}\007"; ':"$PROMPT_COMMAND"; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment