From 983ff6a6e504c3716e14091a84e5f01ec7c1a2c2 Mon Sep 17 00:00:00 2001
From: Von Random <von@mechanus.net>
Date: Fri, 10 Jan 2025 12:23:16 +0200
Subject: [PATCH] zsh, fish: zj funcion

---
 dot_config/fish/functions/zj.fish | 3 +++
 dot_config/zsh/functions.zsh      | 1 +
 2 files changed, 4 insertions(+)
 create mode 100644 dot_config/fish/functions/zj.fish

diff --git a/dot_config/fish/functions/zj.fish b/dot_config/fish/functions/zj.fish
new file mode 100644
index 0000000..309fd4c
--- /dev/null
+++ b/dot_config/fish/functions/zj.fish
@@ -0,0 +1,3 @@
+function zj
+    command zellij $argv
+end
diff --git a/dot_config/zsh/functions.zsh b/dot_config/zsh/functions.zsh
index a919990..c6096d5 100644
--- a/dot_config/zsh/functions.zsh
+++ b/dot_config/zsh/functions.zsh
@@ -43,6 +43,7 @@ function tailf   { command less +F $@ }
 function grep    { command grep --color=auto $@ }
 function rgrep   { grep --exclude-dir=.git -R $@ }
 function s       { termcompat ssh $@ }
+function zj      { command zellij $@ }
 
 function tmux    { command tmux -2 $@ }
 function atmux   { tmux attach || tmux }