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 `#[