added interactive/non-interactive check to .profile & retirn to last cursor position in .vimrc