diff options
| author | Oliver Kiddle <opk@zsh.org> | 2021-02-06 00:05:41 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-02-06 00:05:48 +0100 |
| commit | ba48357315b3ceadee352e3c97ccac6a47e46ef4 (patch) | |
| tree | 7907e9f6e50a5f92914d60f380ece56cefeea5ff /Completion/Linux | |
| parent | unposted: Add cindex entries for some subsections (diff) | |
| download | zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar.gz zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar.bz2 zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar.lz zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar.xz zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.tar.zst zsh-ba48357315b3ceadee352e3c97ccac6a47e46ef4.zip | |
47918: new util-linux completions for nsenter and unshare
Diffstat (limited to 'Completion/Linux')
| -rw-r--r-- | Completion/Linux/Command/_nsenter | 28 | ||||
| -rw-r--r-- | Completion/Linux/Command/_unshare | 40 |
2 files changed, 68 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_nsenter b/Completion/Linux/Command/_nsenter new file mode 100644 index 000000000..8e7c6bc42 --- /dev/null +++ b/Completion/Linux/Command/_nsenter @@ -0,0 +1,28 @@ +#compdef nsenter + +local ign +(( $#words > 2 )) && ign='!' + +_arguments -S -s \ + '(-a --all)'{-a,--all}'[enter all namespaces]' \ |
