From b44fd1318df0270cbe8dcb1f206b1c30bc23b659 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 27 Jun 2020 00:31:11 -0400 Subject: [PATCH] Removed extra fzf-pass. Not needed, yet. Plus it doesn't work. --- zsh/modules/bin/fzf-pass | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 zsh/modules/bin/fzf-pass diff --git a/zsh/modules/bin/fzf-pass b/zsh/modules/bin/fzf-pass deleted file mode 100755 index 749f389..0000000 --- a/zsh/modules/bin/fzf-pass +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -cd "$HOME/.password-store" || exit 1 -PASSFILE=$(tree -Ffi | grep '.gpg' | sed 's/.gpg$//g' | sed 's/^..//' | fzf) - -if [ -z "$PASSFILE" ]; then - exit 0 -fi - -PASSDATA="$(pass "$PASSFILE")" -USRNAME="$(echo "$PASSDATA" | grep "username:" | cut -d' ' -f2-)" -PASS="$(echo "$PASSDATA" | head -n 1)" -URL="$(echo "$PASSDATA" | grep url: | cut -d' ' -f2-)" - -RESP=$(cat <