Fuzzy completion for sf
!
#2569
cristiand391
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
It's also worth learning fzf's search syntax: say you have a scratch org that you know its alias contains the word Screen.Recording.2023-11-14.at.10.42.59.mov |
Beta Was this translation helpful? Give feedback.
0 replies
-
Look at fig.io |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks 👋🏼
Just wanted to show a plugin I wrote few weeks ago to add support for fuzzy completion of certain commands/flags via fzf's completion API.
repo: https://github.com/cristiand391/sf-plugin-fzf-cmp
Last year I wrote this small zsh script to improve command completion (most commands have >= 3 words, even with native shell completion you still have to type them in the right order): https://gist.github.com/cristiand391/7b3e2e51e3c427218d9dcf8ee0f7e828
fuzzy-completion-demo.webm
fzf's completion only supports bash and zsh but this plugin doesn't work on bash yet.
After using it for 2 months the ones I use the most are config vars, commands and org flag completion, but I'm happy to discuss adding support for new flag/commands :)
Beta Was this translation helpful? Give feedback.
All reactions