Skip to content
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

auto completion not working #254

Open
shdennlin opened this issue Jun 9, 2023 · 3 comments
Open

auto completion not working #254

shdennlin opened this issue Jun 9, 2023 · 3 comments
Labels
question Further information is requested

Comments

@shdennlin
Copy link

shdennlin commented Jun 9, 2023

Describe the bug

when the first start the terminal after re-configure .zshrc file, the completion of znap will work, but after 2nd start terminal, completion will not work.

Steps To Reproduce

# file: .zshrc
[[ -r ~/.znap/zsh-snap/znap.zsh ]] || {
    git clone --depth 1 -- \
        https://github.com/marlonrichert/zsh-snap.git ~/.znap/zsh-snap
}
source ~/.znap/zsh-snap/znap.zsh

Expected behavior

znap completions are available

Observed behavior

video demo
2023-06-09.18-12-31.mp4

znap completions are not available:

$ which _znap
_znap not found

Environment:

  • OS: Ubuntu 23.04
  • Terminal: Gnome Terminal
  • Zsh version: zsh 5.9 (x86_64-ubuntu-linux-gnu)
  • Repo version: 60d478e

Additional context

After I add the following at the end of .bashrc

znap fpath _ ':'

The completion can work normally. Why?

@shdennlin shdennlin added the bug Something isn't working label Jun 9, 2023
@marlonrichert
Copy link
Owner

Which terminal do you use? Can you share screenshots of the settings?

@marlonrichert marlonrichert added question Further information is requested and removed bug Something isn't working labels Jun 21, 2023
@shdennlin
Copy link
Author

I have already put the demo video in #254 (comment) - Observed behavior
Configuration can be found at 0:31 seconds

Terminal: Gnome Terminal

@marlonrichert
Copy link
Owner

@shdennlin Please share your terminal’s settings, not your shell’s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants