Compare commits

...

26 Commits

Author SHA1 Message Date
2f3ac9861f Update shell theme to better communicate the current path and git repo we're in 2025-11-26 22:55:17 -08:00
f704efc665 Update SSH config to read from 1Password managed identity file 2025-11-26 21:40:09 -08:00
5db6325f66 Add Linear to casklist 2025-11-26 21:39:22 -08:00
007ee135d8 Add linear and figma to install list 2025-10-10 19:47:51 -07:00
fd74629ca1 Add opencode to install list 2025-10-10 19:43:08 -07:00
6d41df1bc3 Update powerline config 2025-10-02 10:40:48 -07:00
cf7eeb9b5a Reorder programs, add cursor, remove alacritty 2025-10-02 10:36:37 -07:00
a54a9dfa39 Remove tmux (using Ghostty window managment instead) 2025-10-02 10:35:28 -07:00
41e4f886fa Add opencode config 2025-10-02 10:34:03 -07:00
24377d5efd Load packages first for later commands 2025-07-14 04:09:14 -07:00
385ded870e Add bun 2025-07-14 04:07:44 -07:00
310f1d8579 Remove auto enter tmux 2025-07-14 04:07:10 -07:00
a70c96afe2 Add opencode and bun completions 2025-07-14 04:05:53 -07:00
e0e69f4d23 Add AWS Cli to install list 2024-09-30 08:27:03 -07:00
95ab5209b9 Add vscode and zed terminal exceptions, Support vscode font limitations 2024-09-17 16:13:36 -07:00
de0a74edee Increase zsh compatibility 2024-09-17 14:27:19 -07:00
07ca43212a Add zsh plugins 2024-09-17 14:25:07 -07:00
d65c94d7ea Add Heroku Cli 2024-09-05 12:34:33 -07:00
b1cfd9ee8f Add 1Pass as SSH Agent 2024-09-03 15:23:44 -07:00
c76d976b72 Add Cask Installs 2024-09-03 13:59:46 -07:00
2385323915 Remove unused utils and services used in docker 2024-09-03 13:03:54 -07:00
1c25d99d63 Replace python with pyenv and python-virtualenv 2024-09-03 13:00:57 -07:00
20fb651d6e Add git configs 2024-09-03 12:27:15 -07:00
677653ff3d Make faster scrolling more consistent 2024-09-03 12:11:36 -07:00
4ece82b799 Fix MacOS Autocorrect Typo 2024-09-03 12:09:57 -07:00
3873499b13 Brew has .dmg installer now, use to fix dependancy bootstrap problem 2024-09-03 12:09:16 -07:00
10 changed files with 136 additions and 60 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

@@ -1,34 +1,34 @@
ansible
ansible-language-server
ansible-lint
awscli
bat
black
caddy
deno
eza
fd
fzf
Git
git
gleam
go
hashicorp/tap/consul
hashicorp/tap/nomad
hashicorp/tap/vault
Stop
heroku
htop
oh-my-posh
libpq
minio/stable/minio
neovim
opencode
ory/tap/hydra
ory/tap/kratos
oven-sh/bun/bun
pnpm
postgresql@16
python@3.11
pyenv
pyenv-virtualenv
redis
rust
seaweedfs
stow
tmux
yamllint
zoxide
zsh-autosuggestions
zsh-syntax-highlighting

12
casklist Normal file
View File

@@ -0,0 +1,12 @@
font-lilex
font-fira-code-nerd-font
font-fira-mono-nerd-font
figma
1password-cli
linear-linear
netnewswire
raindropio
docker-desktop
utm
cursor
zed

14
git/.config/git/config Normal file
View File

@@ -0,0 +1,14 @@
# Git configuration
#
# This file is for system configurations for git.
#
# For user configurations, see
# https://git-scm.com/docs/git-config
[user]
name = Caleb Braaten
email = git@cbraaten.dev
[includeif "gitdir:~/work/"]
path = ~/work/.gitconfig

3
git/work/.gitconfig Normal file
View File

@@ -0,0 +1,3 @@
[user]
email = caleb@flip.app

8
install Normal file → Executable file
View File

@@ -1,17 +1,17 @@
#!/bin/sh
# Install Brew
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Set Homebrew Taps
brew tap hasicorp/tap
brew tap heroku/brew
# Install Brew Packages
xargs brew install < brewlist
# Install Brew Casks
xargs brew install --cask < casklist
# Sym Link Configs
folders=("alacritty" "nvim" "tmux" "zsh")
folders=("nvim" "tmux" "zsh" "git" "ssh")
for folder in "${folders[@]}"
do

View File

@@ -20,8 +20,8 @@ nnoremap <leader>sm :SupermavenToggle<CR>
" Helpful Movment Mappings
" Check out https://sidneyliebrand.medium.com/a-collection-of-vim-key-binds-4d227c9a455
noremap J }
noremap K {
noremap J 10j
noremap K 10k
noremap H ^
noremap L $

3
ssh/.ssh/config Normal file
View File

@@ -0,0 +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"
@@ -24,25 +30,33 @@ alias pandora="ssh root@pandora.cortex.io"
alias miranda="ssh root@miranda.cortex.io"
# ---- convenience commands ----
alias editShell="nvim ~/.zshrc"
alias editShell="vi ~/.zshrc"
alias sourceShell="source ~/.zshrc"
export NOMAD_ADDR=http://pandora.cortex.io:4646
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
# ---- Oh-My-Posh ----
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
then
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
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" ]
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