-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
41 lines (28 loc) · 1.69 KB
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export PATH="/opt/homebrew/bin:$PATH"
export ANDROID_HOME=/opt/android-sdk-macosx
export ANDROID_SDK_ROOT=/opt/android-sdk-macosx
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/build-tools/22.0.1:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/emulator
export PATH="/usr/local/Cellar/[email protected]/5.5.1_1/bin:$PATH"
export PATH="$PATH:~/.yarn/bin"
export BUNDLER_EDITOR=subl
source "$(brew --prefix)/etc/bash_completion"
GIT_PS1_SHOWUPSTREAM="auto"
GIT_PS1_SHOWDIRTYSTATE="yes"
GIT_PS1_SHOWCOLORHINTS="yes"
PS1='\n\e[31;1m\u@\h on \d at \@\n\e[0;34m\w\e[0m$(__git_ps1 " \[\e[0;36m\]-> \[\e[0;32m\]%s\[\e[m\]")\nB$ '
alias canary='open -a Google\ Chrome\ Canary --args --disable-web-security --user-data-dir=/Users/brett/canary_data'
alias npm-exec='PATH=$(npm bin):$PATH'
alias ionic='npm-exec ionic'
alias dexec='docker-compose run web'
alias dbuild='docker-compose down && docker-compose build'
alias dup='docker-compose up -d && CONTAINERID=$(docker ps --no-trunc | grep "rails s" | cut -f1 -d " ") && docker attach $CONTAINERID'
alias ddown='docker-compose down'
alias drestart='docker-compose down && dup'
alias git_hooks='cp -r ~/.git_template/hooks/ ./.git/hooks/'
alias git_delete_merged='git branch --merged | egrep -v "(^\*|main|master|dev|qa|production)" | xargs git branch -d'
alias bundle_update_patch="bundle update \$(bundle list | awk '\$1 ~ /^\*/ {print \$2}' | grep -v bundler) --patch"
export PATH=$PATH:/opt/tenforward
export PATH=$PATH:/Applications/Sublime\ Text.app/Contents/SharedSupport/bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
bind 'set bell-style none'
export PATH="/usr/local/opt/curl/bin:$PATH"