Add recognize comments starting with '#', compatible with bash/omz
This commit is contained in:
parent
460090beb9
commit
c488a6f46a
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,7 @@ ZSH Options
|
||||||
| AUTO_RESUME | Resume existing jobs before creating a new job |
|
| AUTO_RESUME | Resume existing jobs before creating a new job |
|
||||||
| LONG_LIST_JOBS | Use the verbose list format by default |
|
| LONG_LIST_JOBS | Use the verbose list format by default |
|
||||||
| NOTIFY | Report job status immediately instead of waiting for new prompt |
|
| NOTIFY | Report job status immediately instead of waiting for new prompt |
|
||||||
|
| INTERACTIVE_COMMENTS | Recognize comments starting with `#` |
|
||||||
| BG_NICE | Disabled to prevent jobs being given a lower priority |
|
| BG_NICE | Disabled to prevent jobs being given a lower priority |
|
||||||
| HUP | Disabed to prevent SIGHUP to jobs on shell close |
|
| HUP | Disabed to prevent SIGHUP to jobs on shell close |
|
||||||
| CHECK_JOBS | Disabled to prevent job report on shell close |
|
| CHECK_JOBS | Disabled to prevent job report on shell close |
|
||||||
|
|
|
@ -27,6 +27,9 @@ setopt LONG_LIST_JOBS
|
||||||
# Report the status of background jobs immediately, rather than waiting until just before printing a prompt.
|
# Report the status of background jobs immediately, rather than waiting until just before printing a prompt.
|
||||||
setopt NOTIFY
|
setopt NOTIFY
|
||||||
|
|
||||||
|
# Recognize comments starting with `#`.
|
||||||
|
setopt INTERACTIVE_COMMENTS
|
||||||
|
|
||||||
# Run all background jobs at a lower priority. This option is set by default.
|
# Run all background jobs at a lower priority. This option is set by default.
|
||||||
unsetopt BG_NICE
|
unsetopt BG_NICE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue