Compare commits

...

8 Commits

6 changed files with 61 additions and 49 deletions

View File

@ -0,0 +1,7 @@
{
"$schema": "https://opencode.ai/config.json",
// Theme configuration
"theme": "system",
"model": "qwen-3-coder-480b",
"autoupdate": true,
}

View File

@ -28,7 +28,6 @@ pyenv-virtualenv
redis redis
rust rust
stow stow
tmux
yamllint yamllint
zoxide zoxide
zsh-autosuggestions zsh-autosuggestions

View File

@ -1,11 +1,10 @@
1password-cli font-lilex
alacritty
docker
font-fira-code-nerd-font font-fira-code-nerd-font
font-fira-mono-nerd-font font-fira-mono-nerd-font
insomnia 1password-cli
netnewswire netnewswire
raindropio raindropio
docker-desktop
utm utm
visual-studio-code cursor
zed zed

View File

@ -11,7 +11,7 @@ xargs brew install < brewlist
xargs brew install --cask < casklist xargs brew install --cask < casklist
# Sym Link Configs # Sym Link Configs
folders=("alacritty" "nvim" "tmux" "zsh" "git") folders=("nvim" "tmux" "zsh" "git" ".config")
for folder in "${folders[@]}" for folder in "${folders[@]}"
do do

View File

@ -1,53 +1,55 @@
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json version = 3
version = 2
final_space = true final_space = true
[palette]
blue = '#8AADF4'
lavender = '#B7BDF8'
os = '#ACB0BE'
pink = '#F5BDE6'
text = '#494D64'
wight = '#FFFFFF'
[[blocks]] [[blocks]]
type = 'prompt' type = 'prompt'
alignment = 'left' alignment = 'left'
[[blocks.segments]] [[blocks.segments]]
type = 'session'
style = 'diamond'
powerline_symbol = ''
leading_diamond = '' leading_diamond = ''
template = '{{ .UserName }}@{{ .HostName }}' template = '{{ .UserName }}@{{ .HostName }}'
background = 'p:blue'
foreground = 'p:text' foreground = 'p:text'
Text = ''
Duration = 0
NameLength = 0
[[blocks.segments]]
type = 'path'
style = 'powerline'
powerline_symbol = '' powerline_symbol = ''
template = ' {{ .Path }}' background = 'p:blue'
background = 'p:pink' type = 'session'
foreground = 'p:text' style = 'diamond'
Text = ''
Duration = 0
NameLength = 0
[blocks.segments.properties] [blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .Path }}'
foreground = 'p:text'
powerline_symbol = ''
background = 'p:pink'
type = 'path'
style = 'powerline'
[blocks.segments.properties]
cache_duration = 'none'
folder_icon = '' folder_icon = ''
home_icon = '~' home_icon = '~'
style = 'agnoster_short' style = 'agnoster_short'
[[blocks.segments]] [[blocks.segments]]
template = ' {{ .HEAD }}'
foreground = 'p:text'
powerline_symbol = ''
background = 'p:lavender'
type = 'git' type = 'git'
style = 'powerline' style = 'powerline'
powerline_symbol = ''
template = ' {{ .HEAD }}'
background = 'p:lavender'
foreground = 'p:text'
Text = ''
Duration = 0
NameLength = 0
[blocks.segments.properties] [blocks.segments.properties]
branch_icon = ' ' branch_icon = ' '
cache_duration = 'none'
cherry_pick_icon = ' ' cherry_pick_icon = ' '
commit_icon = ' ' commit_icon = ' '
fetch_status = false fetch_status = false
@ -58,10 +60,7 @@ final_space = true
revert_icon = ' ' revert_icon = ' '
tag_icon = ' ' tag_icon = ' '
[palette] [blocks.segments.properties.mapped_branches]
blue = '#8AADF4' 'docs/*' = '📚 '
lavender = '#B7BDF8' 'feat/*' = '🚀 '
os = '#ACB0BE' 'fix/*' = '🐛 '
pink = '#F5BDE6'
text = '#494D64'
wight = '#FFFFFF'

View File

@ -1,3 +1,6 @@
# ---- Homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- Version Managers ---- # ---- Version Managers ----
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
@ -8,6 +11,9 @@ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"
# ---- Bun Global Installs ----
export PATH="/Users/caleb/.bun/bin:$PATH"
# ---- Native Command Overwrites ---- # ---- Native Command Overwrites ----
/usr/bin/which -s nvim && alias vi="nvim" && alias vim="nvim" || echo "nvim not found, falling back to vi" /usr/bin/which -s nvim && alias vi="nvim" && alias vim="nvim" || echo "nvim not found, falling back to vi"
/usr/bin/which -s bat && alias cat="bat" || echo "bat not found, falling back to cat" /usr/bin/which -s bat && alias cat="bat" || echo "bat not found, falling back to cat"
@ -39,16 +45,18 @@ fi
# ---- Zoxide (better cd) ---- # ---- Zoxide (better cd) ----
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
# ---- Homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- ZSH Plugins ---- # ---- ZSH Plugins ----
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ---- Auto Enter TMUX ---- # bun completions
if [ -z "$TMUX" ] && [ "$TERM_PROGRAM" != "vscode" ] && [ "$TERM_PROGRAM" != "zed" ]; [ -s "/opt/homebrew/Cellar/bun/1.1.26/share/zsh/site-functions/_bun" ] && source "/opt/homebrew/Cellar/bun/1.1.26/share/zsh/site-functions/_bun"
then
tmux attach -t TMUX || tmux new -s TMUX
fi
# opencode
export PATH=/Users/caleb/.opencode/bin:$PATH
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
fpath=(/Users/caleb/.docker/completions $fpath)
autoload -Uz compinit
compinit
# End of Docker CLI completions