diff options
author | Aram Drevekenin <aram@poor.dev> | 2024-03-20 18:34:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 18:34:50 +0100 |
commit | ec6d627b06dac2aaf94b1e2f8e55b889986bcc08 (patch) | |
tree | af6d382a4c44027329384b25a704037bf867ae7f /zellij-utils/assets/completions/comp.bash | |
parent | 58b13babbc6f8a68b710992ece8e8eb04c4d8069 (diff) |
chore(integrations): zpipe alias (#3210)
* chore(completions): zpipe alias
* chore(integrations): zpipe alias
Diffstat (limited to 'zellij-utils/assets/completions/comp.bash')
-rw-r--r-- | zellij-utils/assets/completions/comp.bash | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zellij-utils/assets/completions/comp.bash b/zellij-utils/assets/completions/comp.bash index 867468090..eed994393 100644 --- a/zellij-utils/assets/completions/comp.bash +++ b/zellij-utils/assets/completions/comp.bash @@ -2,3 +2,10 @@ function zr () { zellij run --name "$*" -- bash -ic "$*";} function zrf () { zellij run --name "$*" --floating -- bash -ic "$*";} function ze () { zellij edit "$*";} function zef () { zellij edit --floating "$*";} +function zpipe () { + if [ -z "$1" ]; then + zellij pipe; + else + zellij pipe -p $1; + fi +} |