-
-
Save bidyashish/6248780fb79a40486fd887a44e5d8fce to your computer and use it in GitHub Desktop.
KIMI k2 Thinking in Fish Bash Zsh Shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Edit ~/.config/fish/config.fish | |
| # Save and Reload source ~/.config/fish/config.fish | |
| function kimi | |
| set -x ANTHROPIC_BASE_URL https://api.moonshot.ai/anthropic | |
| set -x ANTHROPIC_AUTH_TOKEN sk-x...... | |
| set -x ANTHROPIC_MODEL kimi-k2-thinking | |
| set -x ANTHROPIC_SMALL_FAST_MODEL kimi-k2-thinking | |
| claude --dangerously-skip-permissions $argv | |
| end | |
| # If In BashRC Or Zshrc | |
| # Edit ~/.zshrc. or ~/.bashrc | |
| # source ~/.zshrc | |
| function kimi() { | |
| export ANTHROPIC_BASE_URL=https://api.moonshot.ai/anthropic | |
| export ANTHROPIC_AUTH_TOKEN=sk-d... | |
| export ANTHROPIC_MODEL=kimi-k2-thinking | |
| export ANTHROPIC_SMALL_FAST_MODEL=kimi-k2-thinking | |
| claude --dangerously-skip-permissions "$@" | |
| } | |
| # Type kimi to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment