1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

[environment] Recognize comments starting with '#'

compatible with bash/omz

Closes #198
This commit is contained in:
wweir 2017-07-31 06:37:12 +08:00 committed by Eric Nielsen
parent a9618a0fd3
commit 83f61ddeba
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@ ZSH Options
| AUTO_RESUME | Resume existing jobs before creating a new job |
| LONG_LIST_JOBS | Use the verbose list format by default |
| 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 |
| HUP | Disabed to prevent SIGHUP to jobs on shell close |
| CHECK_JOBS | Disabled to prevent job report on shell close |

View file

@ -27,6 +27,9 @@ setopt LONG_LIST_JOBS
# Report the status of background jobs immediately, rather than waiting until just before printing a prompt.
setopt NOTIFY
# Recognize comments starting with `#`.
setopt INTERACTIVE_COMMENTS
# Run all background jobs at a lower priority. This option is set by default.
unsetopt BG_NICE