config/zsh/completion/_yc: remove file endings

This commit is contained in:
xeruf 2022-01-17 20:57:47 +01:00
parent 1fb47e4565
commit f1d50a4616
1 changed files with 1 additions and 1 deletions

View File

@ -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