diff --git a/fish/.config/fish/functions/gp.fish b/fish/.config/fish/functions/gp.fish index 3de79e7..4eb1a63 100644 --- a/fish/.config/fish/functions/gp.fish +++ b/fish/.config/fish/functions/gp.fish @@ -1,3 +1,3 @@ function gp --description "Copy password to clipboad with pass tessen" - pass tessen + FZF_DEFAULT_OPTS="--exact --height 20 --prompt='pass: ' --reverse" pass tessen end diff --git a/fish/.config/fish/functions/gt.fish b/fish/.config/fish/functions/gt.fish index 3d4556b..45b2943 100644 --- a/fish/.config/fish/functions/gt.fish +++ b/fish/.config/fish/functions/gt.fish @@ -1,6 +1,6 @@ function gt --description "Get TOTP token with pass-otp" if type -qf pass - pass ls totp | fzf --ansi | sed 's/[^a-zA-Z0-9]//g' | read -l result + pass ls totp | fzf --ansi --exact | sed 's/[^a-zA-Z0-9]//g' | read -l result if test -n "$result" pass otp -c totp/$result end