-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
38 lines (29 loc) · 989 Bytes
/
.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
#########
# Aliases
#########
# When you type ls in the command line, bash runs ls -FGash to make the result more readable.
alias ls='ls -FGash'
# When you type ll in the command line, bash runs ls -al
alias ll='ls -al'
#########
# Other
#########
# add ~/bin to your load path. bash looks at the PATH variable to locate command line programs
export PATH=$PATH:$HOME/bin
export TERM="xterm-256color"
# Git command line autocomplete
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
# Pretty git prompt
# Requires brew uninstall bash-git-prompt
# if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
# GIT_PROMPT_THEME=Default
# source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
# fi
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \$ "
# nvm
source ~/.bashrc
# initialize rbenv for ruby
eval "$(rbenv init -)"
export PATH="$HOME/.cargo/bin:$PATH"