fzf default command

This commit is contained in:
dl92
2025-12-07 23:32:51 +00:00
parent 7113a95aad
commit 2e1b4ec107
2 changed files with 8 additions and 4 deletions

View File

@@ -28,8 +28,8 @@ if [[ -n "$BASH_VERSION" ]]; then
fi
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
HISTSIZE=10000
HISTFILESIZE=20000
#activate python
@@ -38,7 +38,7 @@ HISTFILESIZE=2000
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
FZF_DEFAULT_COMMAND='fd --type f | fzf --print0 | xargs -0 -o vim'
FZF_DEFAULT_COMMAND="rg --files --hidden | fzf --bind 'enter:become(vim {+})'"
# Added by LM Studio CLI tool (lms)
export PATH="$PATH:$HOME/.lmstudio/bin"