From a9f7daa4f041c78838f024b6a9ad1e39587614bf Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 12 Nov 2018 11:04:06 +0100 Subject: [PATCH] Fix(dotfiles): replace AUR by wget method to install antibody --- files/zsh_plugins.txt | 3 +-- files/zshrc.local | 3 +++ tasks/dotfiles.yml | 15 ++++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/files/zsh_plugins.txt b/files/zsh_plugins.txt index 8776c3f..59e948e 100644 --- a/files/zsh_plugins.txt +++ b/files/zsh_plugins.txt @@ -2,8 +2,7 @@ zsh-users/zsh-syntax-highlighting zsh-users/zsh-autosuggestions zsh-users/zsh-history-substring-search desyncr/auto-ls -changyuheng/fz -rupa/z +andrewferrier/fzf-z https://github.com/denysdovhan/spaceship-prompt spaceship diff --git a/files/zshrc.local b/files/zshrc.local index e278f08..1776124 100644 --- a/files/zshrc.local +++ b/files/zshrc.local @@ -28,6 +28,9 @@ bindkey -M vicmd 'j' history-substring-search-down source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/completion.zsh +# fzf-z +export FZFZ_EXTRA_DIRS="/media/documents/" + # Alias alias notes="vim -c Note" # taskwarrior alias diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index c7dd805..d52027d 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -37,13 +37,14 @@ with_items: "{{ me }}" when: not minimal and not server -- name: Install Antibody - aur: - name: antibody - use: makepkg - skip_installed: true - become: yes - become_user: aur_builder +- name: Download antibody + get_url: url=git.io/antibody dest=/tmp/antibody.sh + +- name: Execute the antibody.sh + shell: /tmp/antibody.sh + +- name: Remove the antibody.sh + file: path=/tmp/antibody.sh state=absent - name: Copy local zshrc template: