From 0763449f80582370082fb7aa7bdcd86c91802e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Dom=C3=ADnguez=20Ochoa?= Date: Sun, 22 Mar 2026 10:08:38 +0100 Subject: [PATCH] switch to awsume --- zsh/.zsh_aliases | 56 +++++++++++++++------------------------------- zsh/.zshenv | 2 ++ zsh/.zshrc | 4 ---- zsh/completion.zsh | 2 ++ 4 files changed, 22 insertions(+), 42 deletions(-) diff --git a/zsh/.zsh_aliases b/zsh/.zsh_aliases index 0255978..6ccd81f 100644 --- a/zsh/.zsh_aliases +++ b/zsh/.zsh_aliases @@ -16,11 +16,20 @@ alias d='dirs -v' for index ({1..9}) alias "c$index"="cd +${index}"; unset index # shfmt:ignore:end +alias kpget="keepassxc-cli show -a Password ${KEEPASS_DB}" + +function load_gemini() { + export GEMINI_API_KEY=$(kpget "Gemini API Key") + echo "Gemini API Key loaded into environment!" +} + _get_aws_config_path() { local config_path="${AWS_CONFIG_FILE:-$HOME/.aws/config}" echo "$config_path" } +alias awsume="source awsume" + # This label will be set in a comment in the ~/.aws/config file right before # the definition of the profile we want to use as the default. # The format will be `#[