Put OpenCode 2's bin on PATH in the tracked shell config
This commit is contained in:
1 parent
a787480688
commit
68c7d6a3ea
2 files changed
+5
-3
No files matched your search
+3
-2
@@ -47,8 +47,9 @@ export DOTNETPATH="$HOME/.dotnet/tools"
|
||||
# Podman
|
||||
# export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
|
||||
|
||||
# Set complete path
|
||||
export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PANAMA_PATH/bin:$BUN_INSTALL/bin:$CARGO_PATH/bin:$PNPM_HOME/bin:$PYENV_ROOT/bin:$HOME/.rbenv/bin:/usr/lib/ccache/bin/:$GOPATH/bin:$DOTNETPATH"
|
||||
# Set complete path. ~/.opencode/bin is OpenCode 2's own installer location
|
||||
# and sits ahead of Bun's bin, which can still hold an OpenCode 1 copy.
|
||||
export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PANAMA_PATH/bin:$HOME/.opencode/bin:$BUN_INSTALL/bin:$CARGO_PATH/bin:$PNPM_HOME/bin:$PYENV_ROOT/bin:$HOME/.rbenv/bin:/usr/lib/ccache/bin/:$GOPATH/bin:$DOTNETPATH"
|
||||
|
||||
# rustup writes this file, and initial-packages installs rustup rather than
|
||||
# running rustup-init -- so on a fresh machine it does not exist yet and an
|
||||
|
||||
+2
-1
@@ -9,7 +9,8 @@ export EDITOR="nvim"
|
||||
export SUDO_EDITOR="$EDITOR"
|
||||
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$HOME/.local/bin:$BUN_INSTALL/bin:$PANAMA_PATH/bin:$PATH"
|
||||
# ~/.opencode/bin is OpenCode 2's own installer location, ahead of Bun's bin.
|
||||
export PATH="$HOME/.local/bin:$HOME/.opencode/bin:$BUN_INSTALL/bin:$PANAMA_PATH/bin:$PATH"
|
||||
|
||||
# History shared across sessions, so tmux panes see each other's commands.
|
||||
HISTFILE="$HOME/.zsh_history"
|
||||
|
||||
Reference in new issue
Block a user