From f1d50a461643e24d913d3095543210547e2f5f1b Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 17 Jan 2022 20:57:47 +0100 Subject: [PATCH] config/zsh/completion/_yc: remove file endings --- .config/zsh/completion/_yc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/completion/_yc b/.config/zsh/completion/_yc index d29a814..87498fe 100644 --- a/.config/zsh/completion/_yc +++ b/.config/zsh/completion/_yc @@ -1,5 +1,5 @@ #compdef yc -compadd $(git diff-index HEAD --name-only --relative=${XDG_CONFIG_HOME/$HOME\/}/) +compadd $(git diff-index HEAD --name-only --relative=${XDG_CONFIG_HOME/$HOME\/} | sed 's/\.[^.]\+$//') #_files -W $XDG_CONFIG_HOME -g "git*" # xargs _files -W $XDG_CONFIG_HOME -g # yadm diff HEAD --name-only -- $XDG_CONFIG_HOME