Commit 3e1e5d1c authored by Adar Nimrod's avatar Adar Nimrod
Browse files

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

parent e4551c80
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -6,8 +6,11 @@ export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=100000
export HISTFILESIZE=100000
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
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)"

.profile

0 → 100644
+1 −0
Original line number Diff line number Diff line
export ENV="$HOME/.bashrc"