1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 09:41:12 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Roman Perepelitsa
c6efe80152 runcoms: don't raise an error in zlogin when stderr is not a TTY (#1775)
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).
2020-01-11 00:48:45 -08:00
Joel Kuzmarski
e2785cc246 Better TTY logic for zlogin and zlogout 2017-12-04 11:38:16 -08:00
Indrajit Raychaudhuri
6f9c1666e1 Use short apothegms only in fortune 2014-11-05 17:43:43 -05:00
Joel Kuzmarski
5791c07d48 Only print fortunes in terminals 2014-10-10 18:53:44 -04:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
5a245850f0 [Fix #355] Do not set launchd environment variables
Setting environment variables for launchd processes is unreliable.
Finder and all Finder launched programs have to be restarted for the
new environment variables to take effect.
2012-12-30 18:15:43 -05:00
huyz
37f65b3f86 Check for the existence of .zcompdump before compiling 2012-12-20 18:58:00 -05:00
Sorin Ionescu
8cdf06e386 [#255] Use $ZDOTDIR or $HOME 2012-09-03 16:51:32 -04:00
Sorin Ionescu
57e0f4ecef Rename $dump_file to $zcompdump 2012-09-01 17:53:06 -04:00
Sorin Ionescu
df82640caa Rename templates to runcoms 2012-08-04 14:55:38 -04:00