til/Applications/fzf.md

19 lines
456 B
Markdown
Raw Normal View History

2020-05-06 18:38:17 +00:00
# [fzf](https://wiki.archlinux.org/index.php/Fzf)
2020-05-10 17:28:17 +00:00
| Distribution | Package |
| ------------ | ------- |
| Archlinux | `fzf` |
| Ubuntu | `fzf` |
2020-05-06 18:38:17 +00:00
Add to `~/.bashrc`:
```bash
[[ -f /usr/share/fzf/key-bindings.bash ]] && \
source /usr/share/fzf/key-bindings.bash
[[ -f /usr/share/fzf/completion.bash ]] && \
source /usr/share/fzf/completion.bash
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
```