diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-11-10 09:59:32 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-11-10 09:59:32 +0900 |
| commit | 9afdf8d6cf4d945ac764654af75555fc767fb565 (patch) | |
| tree | 54b9a624185ddcbff720e44517f9cdcea1f35582 /ar/.config/zsh/.zshrc | |
| parent | 38ec0c05c59332fbe5527ccb023ac6044fafcccd (diff) | |
modified zsh/.zshrc, modified zsh/keymaps.zsh, modified zsh/scripts.zsh
Diffstat (limited to 'ar/.config/zsh/.zshrc')
| -rw-r--r-- | ar/.config/zsh/.zshrc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ar/.config/zsh/.zshrc b/ar/.config/zsh/.zshrc index 4126b8f..8197680 100644 --- a/ar/.config/zsh/.zshrc +++ b/ar/.config/zsh/.zshrc @@ -113,6 +113,22 @@ zstyle ':fzf-tab:*' switch-group ',' '.' # switch group using `,` and `.` [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/shortcutenvrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/zshnameddirrc" + +### --- AVANTE --- ### +export AVANTE_ANTHROPIC_API_KEY="$(pass show api/claude/nvim | head -n1)" +export AVANTE_OPENAI_API_KEY="$(pass show api/chatGPT/nvim | head -n1)" +# export AVANTE_AZURE_OPENAI_API_KEY="$(pass show api/azure/nvim | head -n1)" +# export AVANTE_GEMINI_API_KEY="$(pass show api/gemini/nvim | head -n1)" +# export AVANTE_CO_API_KEY="$(pass show api/cohere/nvim | head -n1)" +# export AVANTE_AIHUBMIX_API_KEY="$(pass show api/aihubmix/nvim | head -n1)" +# export AVANTE_MOONSHOT_API_KEY="$(pass show api/moonshot/nvim | head -n1)" + + +### --- OPENAI --- ### +export OPENAI_API_KEY="$(pass show api/chatGPT/nvim | head -n1)" + + +### --- TMUX --- ### if command -v tmux >/dev/null 2>&1 && [ -z "$TMUX" ]; then terminal_count=$(pgrep -u "$USER" -ax "${TERMINAL:-st}" | grep -Ev 'ncmpcpp|newsboat|pulsemixer|spterm|splf|spcalc|stig|vimwikitodo' | wc -l) if [ "$terminal_count" -le 1 ]; then |
