Skip to content

Commit 3a83e27

Browse files
committed
Add bashrc.txt template
1 parent 4efc549 commit 3a83e27

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

bashrc.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
####################
2+
# History settings #
3+
####################
4+
export HISTSIZE='10000000'
5+
export HISTFILESIZE='10000000'
6+
export HISTTIMEFORMAT='%F %T :: '
7+
shopt -s histappend
8+
export PROMPT_COMMAND='history -a'
9+
export HISTCONTROL=ignoredups
10+
11+
###############################
12+
# Up-arrow history completion #
13+
###############################
14+
bind '"\e[A": history-search-backward'
15+
bind '"\e[B": history-search-forward'
16+
17+
########################
18+
# Custom Bash settings #
19+
########################
20+
export PS1="[\[\e[36m\]\u\[\e[m\]@\[\e[32m\]\h\[\e[m\]:\[\e[33m\]\w\[\e[m\]]\\$ "
21+
export CLICOLOR=1
22+
export LSCOLORS=ExFxBxDxCxegedabagacad

0 commit comments

Comments
 (0)