1
0
Fork 0
mirror of synced 2024-11-13 19:48:58 -05:00
zimfw/modules/environment
Eric Nielsen 3b7eeda8f7 [environment] Use setopt NO_FOO instead of unsetopt FOO
As used in other modules. Also easier to document in the comments and
README.

Replace table by bulleted list so it's possible to use `|` in the text
without breaking the Markdown rendering.
2018-05-18 13:54:48 -05:00
..
init.zsh [environment] Use setopt NO_FOO instead of unsetopt FOO 2018-05-18 13:54:48 -05:00
README.md [environment] Use setopt NO_FOO instead of unsetopt FOO 2018-05-18 13:54:48 -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.