Added .fzf.zsh
This commit is contained in:
16
.fzf.zsh
Normal file
16
.fzf.zsh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Setup fzf
|
||||||
|
# ---------
|
||||||
|
if [[ ! "$PATH" == */home/chawley/.fzf/bin* ]]; then
|
||||||
|
PATH="${PATH:+${PATH}:}/home/chawley/.fzf/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ignore .git directories
|
||||||
|
export FZF_DEFAULT_COMMAND="find . \( -name .git \) -prune -o -print"
|
||||||
|
|
||||||
|
# Auto-completion
|
||||||
|
# ---------------
|
||||||
|
source "/home/chawley/.fzf/shell/completion.zsh"
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
# ------------
|
||||||
|
source "/home/chawley/.fzf/shell/key-bindings.zsh"
|
||||||
Reference in New Issue
Block a user