summaryrefslogtreecommitdiffstats
path: root/zellij-utils/assets/completions/comp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-utils/assets/completions/comp.bash')
-rw-r--r--zellij-utils/assets/completions/comp.bash7
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
+}