Compare commits

...

13 Commits

7 changed files with 90 additions and 52 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

@@ -19,16 +19,15 @@ oh-my-posh
libpq
minio/stable/minio
neovim
opencode
ory/tap/hydra
ory/tap/kratos
oven-sh/bun/bun
pnpm
pyenv
pyenv-virtualenv
redis
rust
stow
tmux
yamllint
zoxide
zsh-autosuggestions

View File

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

2
install Normal file → Executable file
View File

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

View File

@@ -1,3 +1,3 @@
Include ~/.ssh/1Password/config
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"

View File

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

View File

@@ -1,3 +1,6 @@
# ---- Homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- Version Managers ----
export NVM_DIR="$HOME/.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 virtualenv-init -)"
# ---- Bun Global Installs ----
export PATH="/Users/caleb/.bun/bin:$PATH"
# ---- 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 bat && alias cat="bat" || echo "bat not found, falling back to cat"
@@ -39,16 +45,18 @@ fi
# ---- Zoxide (better cd) ----
eval "$(zoxide init zsh)"
# ---- Homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- ZSH Plugins ----
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ---- Auto Enter TMUX ----
if [ -z "$TMUX" ] && [ "$TERM_PROGRAM" != "vscode" ] && [ "$TERM_PROGRAM" != "zed" ];
then
tmux attach -t TMUX || tmux new -s TMUX
fi
# bun completions
[ -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"
# 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