diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-02-02 23:02:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 23:02:23 +0100 |
commit | e1a9d0ce3e142003bf137e8ca3e204474b8c148f (patch) | |
tree | 4a86b82b53b778f7892436048216ec22947ea766 /plugins/vagrant | |
parent | 4ee0cf3cb4c64568430f9af5b1edca2602ab5807 (diff) | |
download | zsh-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/vagrant')
0 files changed, 0 insertions, 0 deletions