From 02ef5b34cfd5b15363d0fa37cb7600022c160619 Mon Sep 17 00:00:00 2001 From: shokinn Date: Tue, 24 Sep 2024 09:26:51 +0200 Subject: [PATCH] add alias do edit agenix encrypted files with vscode --- dotfiles/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 4db8a7d..2efd990 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -175,6 +175,7 @@ alias ssh-strongbox-keys="SSH_AUTH_SOCK=~/Library/Group\ Containers/group.strong alias agenix='RULES='\''./secrets/secrets.nix'\'' agenix' alias agenix-edit="agenix -i {{@@ env['HOME'] @@}}/.ssh/agenix-phg -e" alias ane='agenix-edit' +alias cane='EDITOR='code -w' agenix-edit' # Initialize pyenv [[ $(command -v pyenv) ]] && export PYENV_ROOT="$HOME/.pyenv"