Skip to content
Snippets Groups Projects
Commit 77729fc0 authored by nimrod's avatar nimrod
Browse files

- Added provision to (POSIX) shells other than Bash.

parent 0be346ed
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,11 @@ export HISTCONTROL=ignoreboth:erasedups ...@@ -6,8 +6,11 @@ export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=100000 export HISTSIZE=100000
export HISTFILESIZE=100000 export HISTFILESIZE=100000
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
if [ -n "$BASH" ]
then
shopt -s histappend shopt -s histappend
shopt -s checkwinsize shopt -s checkwinsize
fi
# make less more friendly for non-text input files, see lesspipe(1) # make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
......
export ENV="$HOME/.bashrc"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment