feat: add macos setup

This commit is contained in:
2025-08-02 18:41:16 +02:00
parent a320c5908a
commit 328a01d5be
7 changed files with 298 additions and 87 deletions

View File

@@ -67,6 +67,9 @@ source ~/bin/zimfwupdate.sh
eval "$(zoxide init zsh)"
eval "$(gitnow init zsh)"
eval "$(non shell zsh)"
eval "$(kignore init zsh)"
eval "$(starship init zsh)"
eval "$(atuin init zsh)"
alias ,="source ,cd"
alias ,g="source ,ccd"
@@ -78,13 +81,17 @@ alias python=python3
alias pip=pip3
alias ll="eza -l -g --icons"
alias ls="eza --icons"
alias m="mise run"
alias mw="mise watch"
alias ,s="nossh"
alias ssh="nossh"
export OPENAI_API_KEY={{ .openai_token | quote }}
eval "$(starship init zsh)"
eval "$(atuin init zsh)"
{{ if .homebrew }}
eval "$(/opt/homebrew/bin/mise activate zsh)"
@@ -112,4 +119,18 @@ export SHUTTLE_EXTENSIONS_REGISTRY="git=git@github.com:kjuulh/shuttle-extensions
export SHUTTLE_EXTENSIONS_GITHUB_ACCESS_TOKEN="$GITHUB_TOKEN"
export CUDDLE_PLEASE_TOKEN=$GITEA_ACCESS_TOKEN
{{ if .understory }}
# Understory
# ===
alias aws-dev="aws-mfa --duration 3600 --profile understory --assume-role arn:aws:iam::115578597962:role/Developer --short-term-suffix dev --long-term-suffix none"
alias aws-stage="aws-mfa --duration 3600 --profile understory --assume-role arn:aws:iam::446474216075:role/Developer --short-term-suffix stage --long-term-suffix none"
alias aws-prod="aws-mfa --duration 3600 --profile understory --assume-role arn:aws:iam::189949407637:role/Developer --short-term-suffix prod --long-term-suffix none"
export GOPRIVATE=github.com/understory-io
export SCAFFOLD_REGISTRY=git@github.com:understory-io/scaffold-registry.git
# ===
{{ end }}
#zprof