1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00
zimfw/modules/environment
Eric Nielsen 5b90c96cd1 Update modules' README.md
Stick with the following style:

* Header 1 with the module name is in `lowercase`.
* Other headers are in `Sentence case`. Common header names that should
  be consistently used are `Aliases`, `Contributing`, `Functions`,
  `Settings`, and `Zsh options`.
* The names `Zim` and `Zsh` always appear capitalized, even in the
  middle of sentences.
* Prefer

      print 'code indented with 4 spaces'

  instead of
  ```zsh
  print 'code fenced by lines with three back-ticks'
  print 'unless you want syntax highlighting'
  ```
2018-12-17 14:11:16 -05:00
..
init.zsh [environment] Use setopt NO_FOO instead of unsetopt FOO 2018-05-18 13:54:48 -05:00
README.md Update modules' README.md 2018-12-17 14:11:16 -05:00

environment

Sets generic Zsh built-in environment options.

Also enables smart URL-pasting. This prevents the user from having to manually escape URLs.

Uses .zimrc defined ${ztermtitle} variable to set the terminal title, if defined.

Zsh options

  • AUTO_RESUME resumes an existing job before creating a new one.
  • INTERACTIVE_COMMENTS allows comments starting with # in the shell.
  • LONG_LIST_JOBS lists jobs in verbose format by default.
  • NOTIFY reports job status immediately instead of waiting for the prompt.
  • NO_BG_NICE prevents background jobs being given a lower priority.
  • NO_CHECK_JOBS prevents status report of jobs on shell exit.
  • NO_HUP prevents SIGHUP to jobs on shell exit.