esac
;;
zsh)
- # other HISTFILE, zsh uses diffrent fmt
+ # other HISTFILE, zsh uses a different format - should be moved to zshrc and not exported
HISTFILE=~/.historyz
- # w/o this hist file won't get saved!
- SAVEHIST=$HISTSIZE
+ # w/o this hist file won't get saved! - env.d/HISTFILESIZE belongs to bash only
+ export SAVEHIST=$HISTSIZE
;;
esac
unset SH
-export PATH USER LOGNAME HOSTNAME HISTFILE HISTSIZE PS2
+export PATH USER LOGNAME HOSTNAME HISTFILE HISTSIZE
# Put all of the variables as files in /etc/env.d/
# example: