-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
39 lines (28 loc) · 1.2 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
# Homebrew path
export PATH=/usr/local/bin:$PATH
# Chruby
source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh
# Node Version Management
source /usr/local/opt/nvm/nvm.sh
export NVM_DIR=/Users/david/.nvm
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
# Git autocomplete and prompt
source /usr/local/Cellar/git/2.1.2/etc/bash_completion.d/git-completion.bash
source /usr/local/Cellar/git/2.1.2/etc/bash_completion.d/git-prompt.sh
export GIT_PS1_SHOWCOLORHINTS=1
# Set prompt to include git branch
#PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
#PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "'
#PS1='\u@\h:\W$(__git_ps1 " (%s)")\$ '
PROMPT_COMMAND='__git_ps1 "\u@\h:\W" "\\\$ "'
# Default Prompt
#PS1='\h:\W \u\$'
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
shopt -s histappend # append to history, don't overwrite it
# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
alias fm-dev='foreman start -f Procfile.dev'