Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One way I use the trigger character(s) so I can use fzf anywhere in my prompt.

For example setting:

export FZF_COMPLETION_TRIGGER='~~'

Will allow fzf completion for a commands. Just need to hit the <TAB> key after ~~ and fzf will pop up:

git diff main..HEAD -- ~~

ls -lh ~~



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: