feat(shell): openrouter function toggles Claude Code provider, replaces claude-provider
Saves and restores prior values of the four env vars, prints a log in/out reminder. Removes bin/claude-provider and its references.
This commit is contained in:
1 parent
5cd98b3189
commit
f971881962
9 files changed
+176
-76
No files matched your search
+2
-3
@@ -883,14 +883,13 @@ fi
|
||||
# Rust toolchain (rustup, user-level, both OSes).
|
||||
install_rust
|
||||
|
||||
# Deploy personal CLI scripts to ~/.local/bin (dt, dtach-router, claude-provider, repo-sync,
|
||||
# Deploy personal CLI scripts to ~/.local/bin (dt, dtach-router, repo-sync,
|
||||
# tmux-copy-exit-keys).
|
||||
echo "Deploying CLI scripts to ~/.local/bin"
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
cp "$SCRIPT_DIR"/bin/* "$HOME/.local/bin/"
|
||||
chmod +x "$HOME"/.local/bin/dt "$HOME"/.local/bin/dtach-router \
|
||||
"$HOME"/.local/bin/claude-provider "$HOME"/.local/bin/repo-sync \
|
||||
"$HOME"/.local/bin/tmux-copy-exit-keys
|
||||
"$HOME"/.local/bin/repo-sync "$HOME"/.local/bin/tmux-copy-exit-keys
|
||||
|
||||
|
||||
# Remove any stale dtach wiring from ~/.profile (the menu now ships in ~/.bashrc; see above).
|
||||
|
||||
Reference in new issue
Block a user