Compare commits
26 Commits
4915c167cf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f3ac9861f | |||
| f704efc665 | |||
| 5db6325f66 | |||
| 007ee135d8 | |||
| fd74629ca1 | |||
| 6d41df1bc3 | |||
| cf7eeb9b5a | |||
| a54a9dfa39 | |||
| 41e4f886fa | |||
| 24377d5efd | |||
| 385ded870e | |||
| 310f1d8579 | |||
| a70c96afe2 | |||
| e0e69f4d23 | |||
| 95ab5209b9 | |||
| de0a74edee | |||
| 07ca43212a | |||
| d65c94d7ea | |||
| b1cfd9ee8f | |||
| c76d976b72 | |||
| 2385323915 | |||
| 1c25d99d63 | |||
| 20fb651d6e | |||
| 677653ff3d | |||
| 4ece82b799 | |||
| 3873499b13 |
7
.config/opencode/opencode.json
Normal file
7
.config/opencode/opencode.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
// Theme configuration
|
||||||
|
"theme": "system",
|
||||||
|
"model": "qwen-3-coder-480b",
|
||||||
|
"autoupdate": true,
|
||||||
|
}
|
||||||
18
brewlist
18
brewlist
@@ -1,34 +1,34 @@
|
|||||||
ansible
|
ansible
|
||||||
ansible-language-server
|
ansible-language-server
|
||||||
ansible-lint
|
ansible-lint
|
||||||
|
awscli
|
||||||
bat
|
bat
|
||||||
black
|
|
||||||
caddy
|
|
||||||
deno
|
deno
|
||||||
eza
|
eza
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
Git
|
git
|
||||||
gleam
|
gleam
|
||||||
go
|
go
|
||||||
hashicorp/tap/consul
|
hashicorp/tap/consul
|
||||||
hashicorp/tap/nomad
|
hashicorp/tap/nomad
|
||||||
hashicorp/tap/vault
|
hashicorp/tap/vault
|
||||||
Stop
|
heroku
|
||||||
|
htop
|
||||||
oh-my-posh
|
oh-my-posh
|
||||||
libpq
|
libpq
|
||||||
minio/stable/minio
|
minio/stable/minio
|
||||||
neovim
|
neovim
|
||||||
|
opencode
|
||||||
ory/tap/hydra
|
ory/tap/hydra
|
||||||
ory/tap/kratos
|
ory/tap/kratos
|
||||||
oven-sh/bun/bun
|
oven-sh/bun/bun
|
||||||
pnpm
|
pyenv
|
||||||
postgresql@16
|
pyenv-virtualenv
|
||||||
python@3.11
|
|
||||||
redis
|
redis
|
||||||
rust
|
rust
|
||||||
seaweedfs
|
|
||||||
stow
|
stow
|
||||||
tmux
|
|
||||||
yamllint
|
yamllint
|
||||||
zoxide
|
zoxide
|
||||||
|
zsh-autosuggestions
|
||||||
|
zsh-syntax-highlighting
|
||||||
|
|||||||
12
casklist
Normal file
12
casklist
Normal 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
14
git/.config/git/config
Normal 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
3
git/work/.gitconfig
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[user]
|
||||||
|
email = caleb@flip.app
|
||||||
|
|
||||||
8
install
Normal file → Executable file
8
install
Normal file → Executable file
@@ -1,17 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Install Brew
|
|
||||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
||||||
|
|
||||||
# Set Homebrew Taps
|
# Set Homebrew Taps
|
||||||
brew tap hasicorp/tap
|
brew tap hasicorp/tap
|
||||||
|
brew tap heroku/brew
|
||||||
|
|
||||||
# Install Brew Packages
|
# Install Brew Packages
|
||||||
xargs brew install < brewlist
|
xargs brew install < brewlist
|
||||||
|
|
||||||
|
# Install Brew Casks
|
||||||
|
xargs brew install --cask < casklist
|
||||||
|
|
||||||
# Sym Link Configs
|
# Sym Link Configs
|
||||||
folders=("alacritty" "nvim" "tmux" "zsh")
|
folders=("nvim" "tmux" "zsh" "git" "ssh")
|
||||||
|
|
||||||
for folder in "${folders[@]}"
|
for folder in "${folders[@]}"
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ nnoremap <leader>sm :SupermavenToggle<CR>
|
|||||||
|
|
||||||
" Helpful Movment Mappings
|
" Helpful Movment Mappings
|
||||||
" Check out https://sidneyliebrand.medium.com/a-collection-of-vim-key-binds-4d227c9a455
|
" Check out https://sidneyliebrand.medium.com/a-collection-of-vim-key-binds-4d227c9a455
|
||||||
noremap J }
|
noremap J 10j
|
||||||
noremap K {
|
noremap K 10k
|
||||||
noremap H ^
|
noremap H ^
|
||||||
noremap L $
|
noremap L $
|
||||||
|
|
||||||
|
|||||||
3
ssh/.ssh/config
Normal file
3
ssh/.ssh/config
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Include ~/.ssh/1Password/config
|
||||||
|
Host *
|
||||||
|
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||||
@@ -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'
|
|
||||||
|
|||||||
32
zsh/.zshrc
32
zsh/.zshrc
@@ -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" ];
|
||||||
|
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
|
||||||
|
|
||||||
# ---- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user