fzf scriptrc
This commit is contained in:
parent
8597ff3561
commit
294380019c
2 changed files with 5 additions and 3 deletions
5
.config/scriptrc/fzf.sh
Normal file
5
.config/scriptrc/fzf.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# fzf settings
|
||||||
|
if [ ! -z "$(which fzf 2>/dev/null)" ]; then
|
||||||
|
export FZF_DEFAULT_OPTS="--reverse --bind change:first --bind ctrl-j:down,ctrl-k:up -i --cycle --header-first --border rounded"
|
||||||
|
source <(fzf --zsh)
|
||||||
|
fi
|
3
.zshrc
3
.zshrc
|
@ -207,9 +207,6 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
||||||
bindkey '^ ' autosuggest-accept
|
bindkey '^ ' autosuggest-accept
|
||||||
bindkey '^l' autosuggest-accept
|
bindkey '^l' autosuggest-accept
|
||||||
|
|
||||||
# fzf settings
|
|
||||||
export FZF_DEFAULT_OPTS="--reverse --bind change:first --bind ctrl-j:down,ctrl-k:up -i --cycle --header-first --border rounded"
|
|
||||||
|
|
||||||
# exports - local bin, python, brew
|
# exports - local bin, python, brew
|
||||||
export PATH="$HOME/.local/bin:$HOME/.bin:/Users/$USER/Library/Python/3.9/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.local/bin:$HOME/.bin:/Users/$USER/Library/Python/3.9/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue