add fzf
This commit is contained in:
parent
2aa125a71f
commit
19f0d86d81
3 changed files with 28 additions and 0 deletions
|
@ -9,6 +9,8 @@ fi
|
||||||
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
#source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
#source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||||
|
|
||||||
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
PATH="$PATH:/Applications/WezTerm.app/Contents/MacOS"
|
PATH="$PATH:/Applications/WezTerm.app/Contents/MacOS"
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
|
|
13
dot_fzf.bash
Normal file
13
dot_fzf.bash
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Setup fzf
|
||||||
|
# ---------
|
||||||
|
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then
|
||||||
|
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Auto-completion
|
||||||
|
# ---------------
|
||||||
|
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.bash" 2> /dev/null
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
# ------------
|
||||||
|
source "/opt/homebrew/opt/fzf/shell/key-bindings.bash"
|
13
dot_fzf.zsh
Normal file
13
dot_fzf.zsh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Setup fzf
|
||||||
|
# ---------
|
||||||
|
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then
|
||||||
|
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Auto-completion
|
||||||
|
# ---------------
|
||||||
|
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.zsh" 2> /dev/null
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
# ------------
|
||||||
|
source "/opt/homebrew/opt/fzf/shell/key-bindings.zsh"
|
Loading…
Reference in a new issue