From 1a634b6e45159e8308f6533b26cc70c1cae6d45a Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:14:27 -0700 Subject: [PATCH] Remove .config/fish/functions/copy-gpg-key.fish --- dot_config/fish/functions/copy-gpg-key.fish | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 dot_config/fish/functions/copy-gpg-key.fish diff --git a/dot_config/fish/functions/copy-gpg-key.fish b/dot_config/fish/functions/copy-gpg-key.fish deleted file mode 100644 index 29ace1a..0000000 --- a/dot_config/fish/functions/copy-gpg-key.fish +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env fish - -function copy-gpg-key - set -f key (\ - gpg --list-secret-keys --keyid-format SHORT\ - | grep 'rsa4096' \ - | sed 's/sec rsa4096\///'\ - | awk '{print $1}'\ - ) - - copyq copy "$key" &>/dev/null && return 0 - - return 1 -end