Compare commits
7 Commits
2f3ac9861f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| d2fbfe487b | |||
| 1b8f74c1b3 | |||
| e17d09e56d | |||
| f938609a0f | |||
| 4b6abebf41 | |||
| ce84930d7e | |||
| 5a65221896 |
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://opencode.ai/config.json",
|
|
||||||
// Theme configuration
|
|
||||||
"theme": "system",
|
|
||||||
"model": "qwen-3-coder-480b",
|
|
||||||
"autoupdate": true,
|
|
||||||
}
|
|
||||||
@@ -12,3 +12,7 @@
|
|||||||
[includeif "gitdir:~/work/"]
|
[includeif "gitdir:~/work/"]
|
||||||
path = ~/work/.gitconfig
|
path = ~/work/.gitconfig
|
||||||
|
|
||||||
|
[credential]
|
||||||
|
helper = osxkeychain
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
[user]
|
|
||||||
email = caleb@flip.app
|
|
||||||
|
|
||||||
3
install
3
install
@@ -11,11 +11,10 @@ xargs brew install < brewlist
|
|||||||
xargs brew install --cask < casklist
|
xargs brew install --cask < casklist
|
||||||
|
|
||||||
# Sym Link Configs
|
# Sym Link Configs
|
||||||
folders=("nvim" "tmux" "zsh" "git" "ssh")
|
folders=("nvim" "tmux" "zsh" "git" "ssh" "opencode")
|
||||||
|
|
||||||
for folder in "${folders[@]}"
|
for folder in "${folders[@]}"
|
||||||
do
|
do
|
||||||
echo "Symlinking $folder"
|
echo "Symlinking $folder"
|
||||||
stow "$folder" --target ~
|
stow "$folder" --target ~
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
58
opencode/.config/opencode/opencode.jsonc
Normal file
58
opencode/.config/opencode/opencode.jsonc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"theme": "system",
|
||||||
|
"autoupdate": true,
|
||||||
|
"enabled_providers": [
|
||||||
|
"opencode",
|
||||||
|
"opencode-go",
|
||||||
|
"openai",
|
||||||
|
"cerebras",
|
||||||
|
"lmstudio"
|
||||||
|
],
|
||||||
|
"provider": {
|
||||||
|
"cerebras": {
|
||||||
|
"models": {
|
||||||
|
"zai-glm-4.7": {
|
||||||
|
"name": "GLM 4.7",
|
||||||
|
"variants": {
|
||||||
|
"Thinking Disabled": {
|
||||||
|
"reasoningEffort": "none",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lmstudio": {
|
||||||
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
|
"name": "LM Studio (local)",
|
||||||
|
"options": {
|
||||||
|
"baseURL": "http://127.0.0.1:1234/v1"
|
||||||
|
},
|
||||||
|
"models": {
|
||||||
|
"google/gemma-4-26b-a4b": {
|
||||||
|
"name": "Gemma 4 (local)"
|
||||||
|
},
|
||||||
|
"google/gemma-4-e4b": {
|
||||||
|
"name": "Gemma 4 Mobile (local)"
|
||||||
|
},
|
||||||
|
"qwen/qwen3.6-27b": {
|
||||||
|
"name": "Qwen (Local)"
|
||||||
|
},
|
||||||
|
"qwen/qwen3.6-35b-a3b": {
|
||||||
|
"name": "Qwen Fast (Local)"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"mcp": {
|
||||||
|
"pencil": {
|
||||||
|
"command": [
|
||||||
|
"/Applications/Pencil.app/Contents/Resources/app.asar.unpacked/out/mcp-server-darwin-arm64",
|
||||||
|
"--app",
|
||||||
|
"desktop"
|
||||||
|
],
|
||||||
|
"enabled": false,
|
||||||
|
"type": "local"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
21
zsh/.zshrc
21
zsh/.zshrc
@@ -26,8 +26,9 @@ export PATH="/Users/caleb/.bun/bin:$PATH"
|
|||||||
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
||||||
|
|
||||||
# ---- SSH Shortcuts ----
|
# ---- SSH Shortcuts ----
|
||||||
alias pandora="ssh root@pandora.cortex.io"
|
alias radiata="ssh root@radiata.cortex.io"
|
||||||
alias miranda="ssh root@miranda.cortex.io"
|
alias pandora="ssh caleb@pandora.cortex.io"
|
||||||
|
alias miranda="ssh caleb@miranda.cortex.io"
|
||||||
|
|
||||||
# ---- convenience commands ----
|
# ---- convenience commands ----
|
||||||
alias editShell="vi ~/.zshrc"
|
alias editShell="vi ~/.zshrc"
|
||||||
@@ -37,7 +38,7 @@ export NOMAD_ADDR=http://pandora.cortex.io:4646
|
|||||||
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
||||||
|
|
||||||
# ---- Oh-My-Posh ----
|
# ---- Oh-My-Posh ----
|
||||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
|
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
|
||||||
then
|
then
|
||||||
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
||||||
fi
|
fi
|
||||||
@@ -55,8 +56,16 @@ source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
|
|||||||
# opencode
|
# opencode
|
||||||
export PATH=/Users/caleb/.opencode/bin:$PATH
|
export PATH=/Users/caleb/.opencode/bin:$PATH
|
||||||
|
|
||||||
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
|
# ZSH/Bash Completions
|
||||||
fpath=(/Users/caleb/.docker/completions $fpath)
|
fpath=(/Users/caleb/.docker/completions $fpath) #Docker
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
# End of Docker CLI completions
|
eval "$(op completion zsh)"; compdef _op op #1Password
|
||||||
|
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/consul consul
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/nomad nomad
|
||||||
|
complete -o nospace -C /opt/homebrew/bin/nomad vault
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$PATH:/Users/caleb/.lmstudio/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user