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:
parent
8dd5aeb09d
commit
45882f95e8
|
@ -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)'
|
||||
|
|
Loading…
Reference in New Issue