diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-04-18 13:29:15 +0000 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-04-18 13:29:15 +0000 |
| commit | e4963fae03c4d4403fcca3157bebf5e47ef2010f (patch) | |
| tree | db1607c57d9be22b14e22705c96557c80b3e15d6 /runcoms | |
| parent | 3945b868e04daaff719b56a4666c4cb66d63b7a7 (diff) | |
Add fzf autocomplete in ubuntu
Diffstat (limited to 'runcoms')
| -rw-r--r-- | runcoms/zshrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runcoms/zshrc b/runcoms/zshrc index a18511b..ea7d522 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -51,6 +51,8 @@ export GPG_TTY=$(tty) # FZF Config [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +[ -f /usr/share/doc/fzf/examples/key-bindings.zsh ] && source /usr/share/doc/fzf/examples/key-bindings.zsh +[ -f /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh export FZF_DEFAULT_COMMAND='/usr/bin/env rg --color never --files --hidden -g \!.git' export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | head -500''' |