From afd922caa1df841f795cb9a83811f7a0f4c0df37 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 12 Apr 2022 11:41:06 -0400 Subject: [PATCH] pass_typer: Append .gpg suffix, instead of replacing --- .config/i3/pass_typer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index 63554db..65a18bd 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -43,7 +43,7 @@ def get_password(password_name: str) -> None: def select_and_type(server_name: Path) -> None: - path = ("servers" / server_name).with_suffix(".gpg") + path = ("servers" / server_name).with_name(server_name.name + ".gpg") files = chain( PASSWORD_STORE.glob(str(path)), PASSWORD_STORE.glob(str(path.with_name("*@" + path.name))),