diff options
author | sed-i <82407168+sed-i@users.noreply.github.com> | 2022-02-07 01:34:20 -0500 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-02-10 11:42:24 +0100 |
commit | aaaa55424ad7c440506024fac86927fc9916348f (patch) | |
tree | d268678f345f2e8174ab6228082ddb4f48495ef0 /plugins/juju/juju.plugin.zsh | |
parent | 564a60608ca3c21d474e27bb436b36ae86c12751 (diff) | |
download | zsh-aaaa55424ad7c440506024fac86927fc9916348f.tar.gz zsh-aaaa55424ad7c440506024fac86927fc9916348f.tar.bz2 zsh-aaaa55424ad7c440506024fac86927fc9916348f.zip |
refactor(juju)!: use the jsh prefix for `juju show-*` commands (#10426)
BREAKING CHANGE: some aliases have been renamed to be consistent with the rest.
Mainly, aliases for `juju show-` commands are renamed to `jsh*`. This also means
that `jsh` and `jshc` have been renamed to `jssh` and `jsshc`. Have a look at the
README for the complete alias changes.
Diffstat (limited to 'plugins/juju/juju.plugin.zsh')
-rw-r--r-- | plugins/juju/juju.plugin.zsh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/juju/juju.plugin.zsh b/plugins/juju/juju.plugin.zsh index 408692dc7..be8a2c7ae 100644 --- a/plugins/juju/juju.plugin.zsh +++ b/plugins/juju/juju.plugin.zsh @@ -16,6 +16,7 @@ unset completion_file # Generally, # # - `!` means --force --no-wait -y # # - `ds` suffix means --destroy-storage # +# - `jsh` prefix means juju show-* # # ---------------------------------------------------------- # alias j="juju" alias jam="juju add-model --config logging-config=\"<root>=WARNING; unit=DEBUG\"\ @@ -65,14 +66,16 @@ alias jrp='juju refresh --path' alias jrs='juju remove-storage' alias 'jrs!'='juju remove-storage --force' alias jsa='juju scale-application' -alias jsh='juju ssh' -alias jshc='juju ssh --container' +alias jsha='juju show-application' +alias jshc='juju show-controller' alias jshm='juju show-model' -alias jssl='juju show-status-log' +alias jshsl='juju show-status-log' +alias jshu='juju show-unit' +alias jssh='juju ssh' +alias jsshc='juju ssh --container' alias jstj='juju status --format=json' alias jst='juju status --relations --color' alias jsts='juju status --relations --storage --color' -alias jsu='juju show-unit' alias jsw='juju switch' # ---------------------------------------------------------- # |