Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `$PS1` variable does not need to be exported in order for `zsh` to use its contents to set prompt options. `export`ing it has the negative side-effect of polluting prompts in shells launched from `zsh`. The `export`ing of `$PS1` is the cause of thoughtbot#270, where using `sudo su` to become another user (launching a non-`zsh` shell) resulted in a corrupted prompt. Removing the `export` will allow `sh`/`bash`/`dash` and other shells to be launched from `zsh` without inheriting its prompt settings. Fix thoughtbot#270.
- Loading branch information