From d8feb9535de50571752652c026f6982057473b91 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Mon, 31 Mar 2025 11:31:30 -0400 Subject: [PATCH] feat: Adds yubikeyrestart alias --- nvim/lazynvim/lazyvim.json | 10 ++++++++++ zsh/config/.zshrc | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 nvim/lazynvim/lazyvim.json diff --git a/nvim/lazynvim/lazyvim.json b/nvim/lazynvim/lazyvim.json new file mode 100644 index 0000000..6206f7e --- /dev/null +++ b/nvim/lazynvim/lazyvim.json @@ -0,0 +1,10 @@ +{ + "extras": [ + + ], + "install_version": 8, + "news": { + "NEWS.md": "10960" + }, + "version": 8 +} \ No newline at end of file diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index 901221f..56bcd02 100755 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -203,6 +203,8 @@ alias nvim-mhoush='NVIM_APPNAME=m-housh && nvim' # set neovim to use my con alias nvim-kickstart='NVIM_APPNAME=kickstart nvim' # set neovim to use kickstart config. alias nvim-lazy='NVIM_APPNAME=lazy nvim' # set neovim to use lazy config. alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" # set wget history location. +# GPG Yubikey restart relearn when switching keys and stubbed. +alias yubikeyrestart='gpg-connect-agent killagent /bye && gpg-connect-agent "scd serialno" "learn --force" /bye && gpg --card-status' # NOTE: This needs to stay near the bottom, or it doesn't work properly. # Use fzf in history / search contexts.