This commit is contained in:
Connor Johnstone committed 2026-10-29 09:39:54 -04:00
1 parent 2fea845141
commit aa9c1c786d
12 files changed
+242 -2

No files matched your search

+3
View File
@@ -131,9 +131,12 @@ _oc_launch() {
print -u2 "${colour}┌─ opencode profile: ${(U)profile} ─┐\e[0m"
printf '\e]0;opencode [%s]\a' "$profile"
# OpenCode detects its install method with `npm list -g` and upgrades with
# `npm install -g`; both use nvm's prefix unless pointed at this one.
LITELLM_KEY="$key" \
OPENCODE_PROFILE="$profile" \
OPENCODE_CONFIG="$cfg" \
npm_config_prefix="${OPENCODE_BIN:h}" \
command opencode "$@"
}
+3
View File
@@ -13,6 +13,9 @@ export QUTEWAL_DYNAMIC_LOADING=True
export NEOVIDE_FORK=1
export RUSTFLAGS="-L/usr/local/lib"
export CPM_SOURCE_CACHE=$HOME/scout/projects/CPM_cache
export CPM_USE_NAMED_CACHE_DIRECTORIES=True
# `col -bx` strips the backspace-overstrike bold that otherwise reaches bat as
# literal ^H sequences. MANROFFOPT=-c is required alongside it.
export MANPAGER="sh -c 'col -bx | bat -l man -p'"