浏览代码

fix in bashrc:

Douglas Andreani 5 年之前
父节点
当前提交
4b4bee3a6d
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      bash/bashrc

+ 7 - 1
bash/bashrc

@@ -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)\]"