Compare commits

...

30 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
4915c167cf Add Install Script and Brew Package List 2024-09-02 13:58:50 -07:00
c36bc8f436 Add Comments Mapping 2024-07-23 16:45:30 -07:00
17ffb678aa Add shortcuts 2024-07-23 02:52:34 -07:00
980d51fcd1 Add Supermaven Toggle Shortcut 2024-07-22 22:02:28 -07:00
10 changed files with 192 additions and 48 deletions

View File

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

34
brewlist Normal file
View File

@@ -0,0 +1,34 @@
ansible
ansible-language-server
ansible-lint
awscli
bat
deno
eza
fd
fzf
git
gleam
go
hashicorp/tap/consul
hashicorp/tap/nomad
hashicorp/tap/vault
heroku
htop
oh-my-posh
libpq
minio/stable/minio
neovim
opencode
ory/tap/hydra
ory/tap/kratos
oven-sh/bun/bun
pyenv
pyenv-virtualenv
redis
rust
stow
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

21
install Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/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=("nvim" "tmux" "zsh" "git" "ssh")
for folder in "${folders[@]}"
do
echo "Symlinking $folder"
stow "$folder" --target ~
done

View File

@@ -10,6 +10,19 @@ set smartindent
colorscheme catppuccin-mocha colorscheme catppuccin-mocha
let mapleader=" " let mapleader=" "
nnoremap <leader>pv :Vex<CR>
nnoremap <leader><CR> :so ~/.config/nvim/vimrc.vim<CR>
nnoremap <leader>e :Ex<CR> nnoremap <leader>e :Ex<CR>
nnoremap <leader>pv :Vex<CR>
nnoremap <leader>s<CR> :w<CR>
nnoremap <leader><CR> :so ~/.config/nvim/vimrc.vim<CR>
" Toggle Supermaven plugin
nnoremap <leader>sm :SupermavenToggle<CR>
" Helpful Movment Mappings
" Check out https://sidneyliebrand.medium.com/a-collection-of-vim-key-binds-4d227c9a455
noremap J 10j
noremap K 10k
noremap H ^
noremap L $
vmap <leader>c gc

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 = 3
version = 2
final_space = true final_space = true
[palette]
blue = '#8AADF4'
lavender = '#B7BDF8'
teal = '#8BD5CA'
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 }}'
foreground = 'p:text'
powerline_symbol = ''
trailing_diamond = ''
background = 'p:blue' background = 'p:blue'
foreground = 'p:text' type = 'session'
Text = '' style = 'diamond'
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
[blocks.segments.properties] [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 = '' 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 +84,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"
@@ -24,25 +30,33 @@ alias pandora="ssh root@pandora.cortex.io"
alias miranda="ssh root@miranda.cortex.io" alias miranda="ssh root@miranda.cortex.io"
# ---- convenience commands ---- # ---- convenience commands ----
alias editShell="nvim ~/.zshrc" alias editShell="vi ~/.zshrc"
alias sourceShell="source ~/.zshrc" alias sourceShell="source ~/.zshrc"
export NOMAD_ADDR=http://pandora.cortex.io:4646 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" ]; then if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)" then
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
fi fi
# ---- Zoxide (better cd) ---- # ---- Zoxide (better cd) ----
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
# ---- Homebrew ---- # ---- ZSH Plugins ----
eval "$(/opt/homebrew/bin/brew shellenv)" source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ---- Auto Enter TMUX ---- # bun completions
if [ -z "$TMUX" ] [ -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 # opencode
fi 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