Skip to content

Commit

Permalink
Switch to better way to load fzf shell completions
Browse files Browse the repository at this point in the history
  • Loading branch information
sblask committed Jan 31, 2025
1 parent 2288f20 commit b56f9c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ansible/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@
dest: "{{ zsh_plugin_directory }}/zsh-autosuggestions"


- name: Install ZSH fzf completion plugin
get_url:
url: https://raw.githubusercontent.com/junegunn/fzf/master/shell/completion.zsh
dest: "{{ zsh_plugin_directory }}/fzf-completion.plugin.zsh"
mode: 0644
- name: Install ZSH fzf key bindings plugin
get_url:
url: https://raw.githubusercontent.com/junegunn/fzf/master/shell/key-bindings.zsh
dest: "{{ zsh_plugin_directory }}/fzf-key-bindings.plugin.zsh"
mode: 0644


- name: Install ZSH git prompt plugin
git:
repo: https://github.com/zsh-git-prompt/zsh-git-prompt
Expand Down
2 changes: 2 additions & 0 deletions dotfiles_shared/.config/zsh/config.d.symlink/plugins.zsh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source <(fzf --zsh)

for file in ~/.config/zsh/plugins/**/*.plugin.zsh; do
source "$file"
done
Expand Down

0 comments on commit b56f9c0

Please sign in to comment.