-
Notifications
You must be signed in to change notification settings - Fork 78
/
bash_profile
30 lines (21 loc) · 942 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
#!/bin/bash
########################################################################
# Bash Interactive Shell Setup
########################################################################
# Import the Z or Bash shell agnostic environment config
source ~/.profile
# When running two bash windows, allow both to write to the history, not one stomping the other
shopt -s histappend
#PROMPT_COMMAND='history -a'
# Remove duplicates from bash history
# export HISTCONTROL="ignoredups"
# export HISTIGNORE="&:ls:[bf]g:exit"
# Keep multiline commands as one command in history
shopt -s cmdhist
# Load Matthew's Git bash prompt
# source ~/.dotfiles/bash_gitprompt
# Load Brew's git bash completion
# source /opt/boxen/homebrew/Cellar/git/1.9.1/etc/bash_completion.d/git-completion.bash
# source /opt/boxen/homebrew/Cellar/git/1.9.1/etc/bash_completion.d/git-prompt.sh
# PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
# GIT_PS1_SHOWDIRTYSTATE=true