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

[Q] How to get option descriptions? #366

Open
mathomp4 opened this issue Apr 26, 2023 · 4 comments
Open

[Q] How to get option descriptions? #366

mathomp4 opened this issue Apr 26, 2023 · 4 comments
Labels
need information Need for more information to confirm question Further information is requested

Comments

@mathomp4
Copy link

mathomp4 commented Apr 26, 2023

Describe your question

I'm new to fzf-tab having just discovered it today. So I have a dumb question: how does one get the cool "descriptions" as I see in the screencast, e.g.:

Screenshot 2023-04-26 at 3 14 14 PM

Note: I seem to get them for git[tab]:

Screenshot 2023-04-26 at 3 12 40 PM

but when I then do --[tab]:

Screenshot 2023-04-26 at 3 13 28 PM

Would be nice if "all broken" or "all working" but I seem to be in ... partly working?

I think I'm loading plugins in a good order:

❯ cat ~/.zsh_plugins.txt
# zsh-defer
romkatv/zsh-defer

# powerlevel10k
romkatv/powerlevel10k

# fzf-tab
Aloxaf/fzf-tab

# add useful 3rd party plugins
zsh-users/zsh-history-substring-search
zsh-users/zsh-autosuggestions
zdharma-continuum/fast-syntax-highlighting

but maybe that's the issue? Or is there another plugin I need?

@mathomp4 mathomp4 added the question Further information is requested label Apr 26, 2023
@Aloxaf
Copy link
Owner

Aloxaf commented Jun 9, 2023

This is strange. git completion is bundle with zsh. It should work out of box.

What's your zsh version?

https://github.com/zsh-users/zsh/blob/cd1a0a70972e717aa93c5fd6b36f476b5593c206/Completion/Unix/Command/_git#L7750-L7765

@Aloxaf Aloxaf added the need information Need for more information to confirm label Jun 9, 2023
@mathomp4
Copy link
Author

@Aloxaf I'll let you know tomorrow. I was testing out one machine with fzf-tab and it's my work box. My guess is though it's probably pretty recent. I run brew upgrade on it a couple times a week and I think I'm pointing iTerm2 to the brew zsh...I think.

@mathomp4
Copy link
Author

Finally was able to head into work. My zsh version is:

❯ zsh --version
zsh 5.9 (arm-apple-darwin21.6.0)

and I still see the oddity...

@mathomp4
Copy link
Author

A note: I tried looking at this again, and it seems to still happen for me whether I use Apple's zsh or brew's. The versions are:

$ /bin/zsh --version
zsh 5.9 (x86_64-apple-darwin22.0)
$ /usr/local/bin/zsh --version
zsh 5.9 (x86_64-apple-darwin21.3.0)

I even tried putting enable-fzf-tab in various places of my .zshrc. No help. I never get the option descriptions after that first tab. Any other info that might help, @Aloxaf ?

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

No branches or pull requests

2 participants