added magic completion
This commit is contained in:
parent
dfdb23351d
commit
5631c6d58c
1 changed files with 8 additions and 7 deletions
15
zsh/.zshrc
15
zsh/.zshrc
|
@ -90,13 +90,14 @@ zstyle ':fzf-tab:complete:kill:argument-rest' extra-opts --preview=$extract'ps -
|
|||
zstyle ":completion:*:git-checkout:*" sort false
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
# Magic Generate Completions
|
||||
# GENCOMPL_FPATH=$HOME/.cache/zsh-completion-generator
|
||||
# if [ ! -d "$GENCOMPL_FPATH" ]; then
|
||||
# mkdir -p $GENCOMPL_FPATH
|
||||
# fi
|
||||
# fpath=($GENCOMPL_FPATH $fpath)
|
||||
# zstyle :plugin:zsh-completion-generator programs fzf
|
||||
# zinit wait'3' lucid for RobSis/zsh-completion-generator
|
||||
GENCOMPL_FPATH=$HOME/.cache/zsh-completion-generator
|
||||
GENCOMPL_PY=python3
|
||||
if [ ! -d "$GENCOMPL_FPATH" ]; then
|
||||
mkdir -p $GENCOMPL_FPATH
|
||||
fi
|
||||
fpath=($GENCOMPL_FPATH $fpath)
|
||||
zstyle :plugin:zsh-completion-generator programs fzf
|
||||
zinit wait'3' lucid for RobSis/zsh-completion-generator
|
||||
# FZF
|
||||
zinit ice from"gh-r" as"command"
|
||||
zinit light junegunn/fzf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue