Skip to content

Commit

Permalink
docs: remove TODO note, write a comment on the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart committed Nov 9, 2024
1 parent 00fa4b3 commit f85ae70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shell/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,9 @@ fzf-completion() {
local tokens prefix trigger tail matches lbuf d_cmds
setopt localoptions noshwordsplit noksh_arrays noposixbuiltins

# TODO: To successfully complete 'test_dir_completion', add an explanation!
# It has to do with the presence of 'zle -C …'
if ! zmodload -Fe zsh/{complete,compctl}; then
zmodload -i zsh/{complete,compctl}
# Check if at least one completion system (old or new) is active
if ! zmodload -e zsh/compctl || ! (( $+functions[compdef] )); then
zmodload -i zsh/compctl
fi
# http://zsh.sourceforge.net/FAQ/zshfaq03.html
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion-Flags
Expand Down

0 comments on commit f85ae70

Please sign in to comment.