diff --git a/.bashrc b/.bashrc index a08f6093686fcbd1688093e6a0b051df659687be..6354e41a621037a78e5cac3c9a3d51dadadd117f 100644 --- a/.bashrc +++ b/.bashrc @@ -6,8 +6,11 @@ export HISTCONTROL=ignoreboth:erasedups export HISTSIZE=100000 export HISTFILESIZE=100000 export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" -shopt -s histappend -shopt -s checkwinsize +if [ -n "$BASH" ] +then + shopt -s histappend + shopt -s checkwinsize +fi # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" diff --git a/.profile b/.profile new file mode 100644 index 0000000000000000000000000000000000000000..e5e20873dbe2e525ff89bc8c086da9ad2d23dd00 --- /dev/null +++ b/.profile @@ -0,0 +1 @@ +export ENV="$HOME/.bashrc"