-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
27 lines (19 loc) · 829 Bytes
/
config.sh
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
# Don't put duplicate lines or lines starting with space in the history.
HISTCONTROL=ignoreboth:erasedups
# Append to the history file, don't overwrite it
shopt -s histappend
# For setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=100000
HISTFILESIZE=200000
# Force color prompt
force_color_prompt=yes
# Add $HOME/bin to the PATH
export PATH=$PATH:$HOME/bin
# Add $CONFIG_PATH to the PATH
export PATH=$PATH:$CONFIG_PATH/bin
# Add composer's general bin directory to the PATH
PATH=$PATH:~/.composer/vendor/bin
# Bash PS1
export PS1="[⚬ \t ⚬ \[\e[33m\]\u\[\e[m\]\[\e[33m\]@\[\e[m\]\[\e[33m\]\h\[\e[m\] \[\e[34m\]\w\[\e[m\]] \[\e[32m\]\`parse_git_branch\`\[\e[m\]\[\e[33m\]⚡\[\e[m\] "
# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"