I'm using Ubuntu 14.04. I used chsh to set my default shell to /usr/bin/zsh.
My ~/.zprofile defines several environment variables, e.g. export EDITOR=vim. Yet after logging in and starting GNOME Terminal, these variables are not set. After running zsh -l, they are:
% echo $EDITOR
% zsh -l
% echo $EDITOR
vim
%
So apparently when zsh is run on login it does not know it's a login shell and therefore does not read .zprofile? What gives?
As far as I can tell, this was working until recently, then suddenly it wasn't, so perhaps an upgrade broke something?