More fzf stuff
This commit is contained in:
@@ -139,7 +139,6 @@ if psql --version &>/dev/null; then
|
||||
fi
|
||||
|
||||
unsetopt correct_all
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
__maybesource() {
|
||||
if [[ -f "${1}" ]]; then
|
||||
@@ -239,6 +238,12 @@ print(base64.b64encode(secrets.token_bytes(${nbytes} * 2)).decode(), end="")
|
||||
EOPYTHON
|
||||
}
|
||||
|
||||
if fzf --version &>/dev/null; then
|
||||
source <(fzf --zsh)
|
||||
else
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
fi
|
||||
|
||||
__maybesource ~/.zshenv
|
||||
__maybesource ~/.cargo/env
|
||||
__maybesource ~/google-cloud-sdk/path.zsh.inc
|
||||
@@ -246,6 +251,7 @@ __maybesource ~/google-cloud-sdk/completion.zsh.inc
|
||||
__maybesource ~/.kiex/scripts/kiex
|
||||
__maybesource ~/.config/tabtab/__tabtab.zsh
|
||||
__maybesource ~/.sdkman/bin/sdkman-init.sh
|
||||
__maybesource /etc/profile.d/fzf.zsh
|
||||
|
||||
autoload -Uz compinit
|
||||
if [[ -n ~/.zcompdump(#qNmh-24) ]]; then
|
||||
|
||||
Reference in New Issue
Block a user