1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 05:01:13 +00:00
prezto/modules/environment
Roman Perepelitsa 7cad349a5a environment: improve the TTY check (#1785)
Bug report from @qosmio:
https://github.com/sorin-ionescu/prezto/pull/1771#issuecomment-575596417

I'm unable to reproduce it and @qosmio hasn't yet confirmed or
disconfirmed whether this fix works. It's a good idea to change
the code this way in either case.

(As I mentioned in #1771, this `stty -ixon` call may have been added
by mistake. It doesn't do what the comment suggest and is at least as
likely to be harming users as helping them.)
2020-01-20 07:29:34 -08:00
..
init.zsh environment: improve the TTY check (#1785) 2020-01-20 07:29:34 -08:00
README.md doc: More copyediting and formatting for consistency 2018-10-12 12:04:49 -05:00

Environment

Sets general shell options and defines environment variables.

This module must be loaded first.

Contributors

This module MUST NOT rely on any command not built in Zsh.

Non-interactive environment variables should be defined in zshenv.

Options

General

  • COMBINING_CHARS combine zero-length punctuation characters (accents) with the base character.
  • INTERACTIVE_COMMENTS enable comments in interactive shell.
  • RC_QUOTES allow 'Henry''s Garage' instead of 'Henry'''s Garage'.
  • MAIL_WARNING don't print a warning message if a mail file has been accessed.

Jobs

  • LONG_LIST_JOBS list jobs in the long format by default.
  • AUTO_RESUME attempt to resume existing job before creating a new process.
  • NOTIFY report status of background jobs immediately.
  • BG_NICE don't run all background jobs at a lower priority.
  • HUP don't kill jobs on shell exit.
  • CHECK_JOBS don't report on jobs when shell exit.

Variables

Termcap

  • LESS_TERMCAP_mb begins blinking.
  • LESS_TERMCAP_md begins bold.
  • LESS_TERMCAP_me ends mode.
  • LESS_TERMCAP_se ends standout-mode.
  • LESS_TERMCAP_so begins standout-mode.
  • LESS_TERMCAP_ue ends underline.
  • LESS_TERMCAP_us begins underline.

Authors

The authors of this module should be contacted via the issue tracker.