-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
37 lines (28 loc) · 1.21 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
source ~/cli-utils/.alias
export PATH="~/.local/bin:$PATH" # GNOME, JHBuild
export PATH="~/dev/WebKit/Tools/Scripts:$PATH" # WebKit
export PATH="~/dev/wk-gardening-tools/src:$PATH" # WebKit Gardening tools
# wk-test-lookup $testName // finds expectation failures. defaults to --gtk, try --wpe
# wk-test-baselines $testName
export PATH="/Applications/Visual Studio Code.app/Contents/Resources/app/bin:$PATH"
export PATH="~/.cargo/bin:$PATH" # Rust, Cargo package manager
unset WKDEV_SDK
# Golang:
#export PATH="~/go/bin:$PATH"
# ***** nvm
# if this already exists, nvm will skip appending it on installation (see bootstrap.sh):
# => nvm source string already in /Users/yourUser/.bash_profile
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
export PATH="/usr/local/opt/openjdk/bin:$PATH"
PS1="\W$ "
# git prompt
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
# git branch autocompletion
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi