addet fzf
This commit is contained in:
parent
8dccebc2bd
commit
f1f028116e
1 changed files with 3 additions and 6 deletions
9
.bashrc
9
.bashrc
|
@ -232,7 +232,9 @@ fi
|
|||
source ~/.fzf.bash
|
||||
source /usr/share/doc/fzf/examples/key-bindings.bash
|
||||
# ─< Use fzf for completion >─────────────────────────────────────────────────────────────
|
||||
# Use fzf for enhanced completion
|
||||
bind -x '"\t": fzf-completion'
|
||||
bind -x '"\C-i": fzf-completion'
|
||||
}
|
||||
_fzf_comprun() {
|
||||
local command=$1
|
||||
shift
|
||||
|
@ -244,11 +246,6 @@ _fzf_comprun() {
|
|||
esac
|
||||
}
|
||||
|
||||
# Use fzf-completion with TAB
|
||||
bind -x '"\t": fzf-completion'
|
||||
bind -x '"\C-i": fzf-completion'
|
||||
}
|
||||
|
||||
# ─< t stands for trash(-cli) >───────────────────────────────────────────────────────────────
|
||||
_trash() {
|
||||
if command_exists trash; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue