From bc83ab82a4362d3c7341671f3509ba84de0167df Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Tue, 10 Jun 2025 21:58:01 +0530 Subject: Updated submodules Signed-off-by: Marc Pervaz Boocha --- .zfunc/_dotfiles | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .zfunc/_dotfiles (limited to '.zfunc/_dotfiles') diff --git a/.zfunc/_dotfiles b/.zfunc/_dotfiles new file mode 100644 index 0000000..1a29842 --- /dev/null +++ b/.zfunc/_dotfiles @@ -0,0 +1,9 @@ +#compdef dotfiles + +_arguments -C '*:: :->args' + +oldwords=($words) +words=(git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME/.dotfiles/" ${words[@]:0}) +CURRENT=$(( CURRENT + $#words - $#oldwords )) +_normal && return 0 +return 1 -- cgit v1.2.3-70-g09d2