diff options
author | Starfall <us@starfall.systems> | 2020-07-18 23:49:07 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-07-22 14:36:08 -0500 |
commit | 30c9f1d24891ccf1f6da8c0d491b5ff9deeecfd1 (patch) | |
tree | a26f210d2f0941411d8c075d5eb34803a877b882 | |
parent | 54e56b4067b1cadd280c2917ab2784a86e4a2b93 (diff) |
zsh: add fzf bindings
-rw-r--r-- | .config/zsh/.zshrc | 8 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 2e73a3a..70c4286 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,3 +1,11 @@ +# plugins - fzf +# fzf is automatically picked up by /etc/profile on cygwin, but manjaro installs them here +if [[ -a /usr/share/fzf/key-bindings.zsh ]] && [[ -a /usr/share/fzf/completion.zsh ]]; then + export FZF_DEFAULT_OPTS='--no-height --no-reverse' + source /usr/share/fzf/key-bindings.zsh + source /usr/share/fzf/completion.zsh +fi + # magic cd setopt autocd export CDPATH=".:$HOME:$HOME/devil:$HOME/src" diff --git a/README.md b/README.md index cf28c0a..0532d2d 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,10 @@ config config --local status.showUntrackedFiles no ## Other new machine setup -### installed programs +### installed packages * vim * zsh (remember to `chsh -s $(which zsh)`) +* fzf ### sshd config ```bash @@ -38,7 +39,6 @@ END >> /etc/ssh/sshd_config ### todo * zsh plugins * not sure if antigen, zinit, or zgen for the plugin manager - * junegunn/fzf * p10k? * zsh-users/zsh-autosuggestions (maybe) * zsh-users/zsh-syntax-highlighting |