update .bashrc

This commit is contained in:
Aborn Jiang 2015-09-30 17:49:52 +09:00
parent c5dea5a528
commit 523c8a2546
1 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ esac
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
@ -21,7 +21,7 @@ HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
#shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
@ -105,13 +105,13 @@ fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
#if ! shopt -oq posix; then
# if [ -f /usr/share/bash-completion/bash_completion ]; then
# . /usr/share/bash-completion/bash_completion
# elif [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
# fi
#fi
# --------------------------------------------
# following setting is for Aborn Jiang