-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: package binary+keys for fzf does not config keybindings correctly. #8
Comments
How is your config looking? |
I created a minimal .zshrc
then ran
I then tried to use the snippet in the Recipes for popular programs
and it loads fine: Downloading junegunn/fzf…
(Requesting `fzf-0.34.0-darwin_amd64.zip'…)
########################################################################################################################################################################################################################### 100.0%
ziextract: Unpacking the files from: `fzf-0.34.0-darwin_amd64.zip'…
Archive: fzf-0.34.0-darwin_amd64.zip
inflating: fzf
ziextract: Successfully extracted and assigned +x chmod to the file: `fzf'.
bin-gem-node annex: Created the fzf shim and set +x on the fzf binary
Setting up snippet: https://github.com/junegunn/fzf/raw/master
Downloading `https://github.com/junegunn/fzf/raw/master` (with curl, wget, lftp)…
########################################################################################################################################################################################################################### 100.0%
Note: Compiling: completion.zsh… OK.
Setting up snippet: https://github.com/junegunn/fzf/raw/master
Downloading `https://github.com/junegunn/fzf/raw/master` (with curl, wget, lftp)…
########################################################################################################################################################################################################################### 100.0%
Note: Compiling: key-bindings.zsh… OK. What's the difference between these two versions? Is there any reason to prefer the version inside zinit-packages? |
same prolem here on linux.
chaning profile have similar problems, e.g., with
|
@haoyun i think this might be fixed. can you confirm this is still an issue? |
Same issue still
|
ah, okay. will look into this. |
I deleted
|
You shouldn't need to remove the zinit repository. Instead, run the following commands: zi delete --all --yes
zi self-update
zsh -il the ability to reinstall a plugin is a missing capability in zinit. additionally, I have a few aliases to do this, but I'll add the dedicated command(s) to zinit. alias zcln="command rm -rf ${HOME}/.{local/share/{zinit,zsh},cache,config/{zinit,zsh/.{zcomp{cache,dump},zsh_sessions}}}"
alias zreset="builtin cd ${HOME} && ( zcln && zrld ) && cd -"
alias zicln="zi delete --all --yes; ( exec zsh -il );"
alias zrld="builtin exec zsh -il" Can we consider this issue closed? |
Thanks a lot!!!
For me, of course yes. I'm not sure if the problem was solved for @albertfgu . |
After running those commands (I think previously I forgot to run the self-update), it now works. Downloading junegunn/fzf…
(Requesting `fzf-0.34.0-darwin_amd64.zip'…)
######################################################################################################### 100.0%
ziextract: Unpacking the files from: `fzf-0.34.0-darwin_amd64.zip'…
Archive: fzf-0.34.0-darwin_amd64.zip
inflating: fzf
ziextract: Successfully extracted and assigned +x chmod to the file: `fzf'.
[patch-dl annex]: File _fzf_completion downloaded correctly
[patch-dl annex]: File key-bindings.zsh downloaded correctly
[patch-dl annex]: File fzf-tmux.1 downloaded correctly
[patch-dl annex]: File fzf.1 downloaded correctly
bin-gem-node annex: Created the fzf shim and set +x on the fzf binary
Installed 1 completions. They are stored in the $INSTALLED_COMPS array. The command I used was the bgn+binaries command:
One last question I have: before getting this to work, I used the much simpler command
which was modified from https://github.com/zdharma-continuum/zinit/wiki/Recipes-for-popular-programs#fzf. Could someone explain the main differences between these? What are the reasons to prefer the much more complicated command provided by the zinit-packages here? Lastly, how should I modify the command to source both |
Whoops, I forgot the zi delete --all --yes
zi self-update
exec zsh -il |
Describe the bug
I'm experiencing the exact same bug as in #7
Steps to reproduce
Manually added zinit command inside the package and followed standard instructions to load zsh
Expected behavior
Same bug. Error message is
Screenshots and recordings
No response
Operating System & Version
darwin20.0 | apple | x86_64 | x86_64 | x86_64 i386
Zsh version
zsh 5.8 (x86_64-apple-darwin20.0)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: