diff --git a/zsh/zshrc b/zsh/zshrc index e10261b..b36442b 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -47,7 +47,7 @@ HIST_STAMPS="yyyy-mm-dd" # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. # plugins=(git) -plugins=(sudo taskwarrior common-aliases git-flow github keybase vi-mode battery python) +plugins=(sudo taskwarrior common-aliases git-flow github keybase vi-mode fzf python) # User configuration export PATH="/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/kellya/bin:/home/kellya/incoming/git-annex.linux:/home/kellya/bin/keybase/bin:/home/kellya/.local/bin" @@ -139,3 +139,11 @@ export PATH="$HOME/.poetry/bin:$PATH" # source $HOME/.zshrc # fi #} + +# +#FZF stuff +source /usr/share/fzf/shell/key-bindings.zsh +source ~/.oh-my-zsh/completions/fzf_completion +export FZF_DEFAULT_OPTS="--extended" +export FZF_DEFAULT_COMMAND="fd --type f" +export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"