Browse Source
The existing code in runcoms/zlogin results in `$?` being equal to `1` when starting a login shell if stderr is not a TTY. For example: zsh -l 2>/dev/null When using a theme that displays error/success status of the last command, the first prompt will show an error. This commit fixes it so that error code is zero after sourcing zlogin (unless something unexpected and bad happens).master
Roman Perepelitsa
5 years ago
committed by
Kaleb Elwert
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue