From 45882f95e827313414fa31a11808a8ad9910a23a Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 25 Jan 2013 22:38:36 +0400 Subject: [PATCH] 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. --- powerline/bindings/bash/powerline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/bindings/bash/powerline.sh b/powerline/bindings/bash/powerline.sh index 18757743..8b3185f3 100644 --- a/powerline/bindings/bash/powerline.sh +++ b/powerline/bindings/bash/powerline.sh @@ -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)'