|
@@ -1,5 +1,5 @@
|
|
# Default bashrc file
|
|
# Default bashrc file
|
|
-DOTFILES=/home/cmte/.dotfiles/bash
|
|
|
|
|
|
+DOTFILES=/home/cmte/dotfiles/bash; export DOTFILES
|
|
|
|
|
|
# Set bash-completion
|
|
# Set bash-completion
|
|
if ! shopt -oq posix; then
|
|
if ! shopt -oq posix; then
|
|
@@ -10,6 +10,12 @@ if ! shopt -oq posix; then
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+# Set Bash history
|
|
|
|
+HISTCONTROL=ignoredups
|
|
|
|
+HISTSIZE=10000
|
|
|
|
+HISTFILE_SIZE=20000
|
|
|
|
+shopt -s checkwinsize
|
|
|
|
+
|
|
# Set PS1 variable
|
|
# Set PS1 variable
|
|
export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]"
|
|
export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]"
|
|
|
|
|