about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zshrc8
-rw-r--r--README.md4
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