diff options
author | 2025-06-10 21:58:01 +0530 | |
---|---|---|
committer | 2025-06-10 21:58:01 +0530 | |
commit | bc83ab82a4362d3c7341671f3509ba84de0167df (patch) | |
tree | 44dd11a8633327e5cc4627519c9870efad698eff /.zfunc/_dotfiles | |
parent | Readded lspconfig (diff) | |
download | dotfiles-main.tar dotfiles-main.tar.gz dotfiles-main.tar.bz2 dotfiles-main.tar.lz dotfiles-main.tar.xz dotfiles-main.tar.zst dotfiles-main.zip |
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.com>
Diffstat (limited to '')
-rw-r--r-- | .zfunc/_dotfiles | 9 |
1 files changed, 9 insertions, 0 deletions
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 |