Last active
November 7, 2020 12:17
-
-
Save parasquid/a518fb89b11bcbec3ee1 to your computer and use it in GitHub Desktop.
.bashrc
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
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash | |
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh | |
export PATH="$PATH:$HOME/bin" | |
[ -f /home/linuxbrew/.linuxbrew/etc/bash_completion ] && . /home/linuxbrew/.linuxbrew/etc/bash_completion | |
source /home/linuxbrew/.linuxbrew/etc/bash_completion.d/git-prompt.sh | |
PS1="\[\033[32m\][\[\033[1;32m\]\w]\[\033[0m\]\$(__git_ps1) \n\[\033[1;36m\]\u\[\033[32m\]$ \[\033[0m\]" | |
export CLICOLOR=1 | |
export LSCOLORS=Exfxcxdxbxegedabagacad | |
# http://geoff.greer.fm/lscolors/ | |
function current_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
ref=$(git rev-parse --short HEAD 2> /dev/null) || return | |
echo ${ref#refs/heads/} | |
} | |
alias ggpush='git push -u origin $(current_branch)' | |
#export NPM_CONFIG_PREFIX=~/.npm-global | |
export PATH="$PATH:$HOME/.npm-global/bin" | |
alias gbr="git branch | grep -v "master" | xargs git branch -D" | |
eval `ssh-agent -s` | |
ssh-add | |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | |
export PATH="$PATH:$HOME/.rvm/bin" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
export GOPATH="$HOME/golib" | |
export PATH="$PATH:$GOPATH/bin" | |
export GOPATH="$GOPATH:$HOME/go" | |
export PATH="$PATH:$GOPATH/bin" | |
#export JAVA_HOME="$HOME/bin/android-studio/jre" | |
export JAVA_HOME=/usr/lib/jvm/java-8-oracle | |
export ANDROID_HOME="$HOME/Android/Sdk" | |
export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
###-tns-completion-start-### | |
if [ -f /home/tristan/.tnsrc ]; then | |
source /home/tristan/.tnsrc | |
fi | |
###-tns-completion-end-### | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
if [ $TILIX_ID ] || [ $VTE_VERSION ] ; then source /etc/profile.d/vte.sh; fi # Ubuntu Budgie END | |
alias plz="sudo" | |
alias please="sudo !!" | |
export PATH="$(yarn global bin):$PATH" | |
export PATH=$PATH:/usr/local/tinygo/bin | |
export GOROOT=`go env GOROOT` | |
export GO111MODULE=on | |
export IS_DOCKER=1 | |
alias ducks='du -cks * | sort -rn | head' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment