Browse Source

fix in bashrc:

Douglas Andreani 5 years ago
parent
commit
4b4bee3a6d
1 changed files with 7 additions and 1 deletions
  1. 7 1
      bash/bashrc

+ 7 - 1
bash/bashrc

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