Restore export as it makes sense in bash

Bash has weird initialization: bashrc is sourced in non-login
interactive shell, but not in login interactive shell; profile is
sourced in login interactive shell, but not in non-login interactive,
thus exporting in profile does make sense. In zsh case zshrc is always
sourced when shell is interactive and exporting thus makes no sense.
This commit is contained in:
ZyX 2013-01-25 22:38:36 +04:00 committed by Kim Silkebækken
parent 8dd5aeb09d
commit 45882f95e8
1 changed files with 1 additions and 1 deletions

View File

@ -16,4 +16,4 @@ trap "_powerline_tmux_set_columns" SIGWINCH
kill -SIGWINCH "$$"
export PROMPT_COMMAND="_powerline_tmux_set_pwd"
PS1='$(powerline-prompt --last_exit_code=$? left)'
export PS1='$(powerline-prompt --last_exit_code=$? left)'