summaryrefslogtreecommitdiff
path: root/plugins/nmap/nmap.plugin.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-02-02 23:02:23 +0100
committerGitHub <noreply@github.com>2022-02-02 23:02:23 +0100
commite1a9d0ce3e142003bf137e8ca3e204474b8c148f (patch)
tree4a86b82b53b778f7892436048216ec22947ea766 /plugins/nmap/nmap.plugin.zsh
parent4ee0cf3cb4c64568430f9af5b1edca2602ab5807 (diff)
downloadzsh-e1a9d0ce3e142003bf137e8ca3e204474b8c148f.tar.gz
zsh-e1a9d0ce3e142003bf137e8ca3e204474b8c148f.tar.bz2
zsh-e1a9d0ce3e142003bf137e8ca3e204474b8c148f.zip
fix(cli): allow `omz` commands to be used in a script (#10645)
The commands `omz plugin {enable,disable}` and `omz theme set` automatically reload the zsh session on success. With this change, the CLI checks whether the commands are run in an interactive session before reloading the zsh session. This change also conditionally sets the completion function for `omz` so that it's not done in a non-interactive session.
Diffstat (limited to 'plugins/nmap/nmap.plugin.zsh')
0 files changed, 0 insertions, 0 deletions