From 3851e99f1b4e063e9a90d1753bf104f1d241dad6 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 9 May 2023 18:12:17 +0530 Subject: [PATCH] fish: functions: Rename to not conflict with git abbreviations --- fish/.config/fish/functions/{gt.fish => po.fish} | 2 +- fish/.config/fish/functions/{gp.fish => pt.fish} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename fish/.config/fish/functions/{gt.fish => po.fish} (80%) rename fish/.config/fish/functions/{gp.fish => pt.fish} (59%) diff --git a/fish/.config/fish/functions/gt.fish b/fish/.config/fish/functions/po.fish similarity index 80% rename from fish/.config/fish/functions/gt.fish rename to fish/.config/fish/functions/po.fish index 45b2943..f951b6e 100644 --- a/fish/.config/fish/functions/gt.fish +++ b/fish/.config/fish/functions/po.fish @@ -1,4 +1,4 @@ -function gt --description "Get TOTP token with pass-otp" +function po --description "Get TOTP token with pass-otp" if type -qf pass pass ls totp | fzf --ansi --exact | sed 's/[^a-zA-Z0-9]//g' | read -l result if test -n "$result" diff --git a/fish/.config/fish/functions/gp.fish b/fish/.config/fish/functions/pt.fish similarity index 59% rename from fish/.config/fish/functions/gp.fish rename to fish/.config/fish/functions/pt.fish index 4eb1a63..5c9cc9b 100644 --- a/fish/.config/fish/functions/gp.fish +++ b/fish/.config/fish/functions/pt.fish @@ -1,3 +1,3 @@ -function gp --description "Copy password to clipboad with pass tessen" +function pt --description "Copy password to clipboad with pass tessen" FZF_DEFAULT_OPTS="--exact --height 20 --prompt='pass: ' --reverse" pass tessen end