images/developer/config/zshrc
Snider 69d293dd23
Some checks are pending
Build Images / Docker (developer) (push) Waiting to run
Build Images / Docker (server-php) (push) Waiting to run
Build Images / LinuxKit (developer-amd64) (push) Blocked by required conditions
Build Images / LinuxKit (server-php-amd64) (push) Blocked by required conditions
Build Images / LinuxKit (developer-arm64) (push) Blocked by required conditions
Build Images / LinuxKit (server-php-arm64) (push) Blocked by required conditions
Build Images / Release LinuxKit Images (push) Blocked by required conditions
feat(developer): add full-fat dev environment with 100+ tools
Comprehensive developer image with all S4.6 tooling:

AI/LLM: claude, aider, llm
VCS: git, gh, lazygit, delta, git-lfs
Runtimes: node, bun, deno, go, python3, rustc, frankenphp
Package Mgrs: npm, pnpm, yarn, composer, pip, uv, cargo
Build: task, just, make, turbo, nx
Linting: pint, phpstan, prettier, eslint, biome, golangci-lint, ruff
Testing: phpunit, pest, vitest, k6
Infra: docker, kubectl, k9s, helm, terraform, ansible
Databases: sqlite, mysql, psql, redis-cli, usql
HTTP/Net: curl, httpie, xh, websocat, grpcurl, mkcert
Data: jq, yq, fx, gron, miller, dasel
Security: age, sops, cosign, trivy, trufflehog
Monitoring: htop, btop, ctop, lazydocker, dive
Files: fd, rg, fzf, bat, eza, tree, zoxide, broot
Editors: nvim, helix, vim, nano

Includes shell config (zsh + oh-my-zsh + starship), tmux, and
comprehensive aliases for all tools.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 22:31:24 +00:00

69 lines
1.4 KiB
Bash

# Core Developer - Zsh Configuration
# Path to oh-my-zsh installation
export ZSH="$HOME/.oh-my-zsh"
# Theme (using starship instead)
ZSH_THEME=""
# Plugins
plugins=(
git
docker
kubectl
composer
npm
golang
rust
python
zsh-autosuggestions
zsh-syntax-highlighting
)
# Load oh-my-zsh
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
export EDITOR=nvim
export VISUAL=nvim
# Paths
export GOPATH=$HOME/go
export CARGO_HOME=$HOME/.cargo
export PATH="$GOPATH/bin:$CARGO_HOME/bin:$HOME/.local/bin:$HOME/.composer/vendor/bin:$PATH"
# FZF configuration
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND='fd --type d --hidden --follow --exclude .git'
# Bat configuration
export BAT_THEME="TwoDark"
# History
HISTSIZE=50000
SAVEHIST=50000
setopt SHARE_HISTORY
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE
# Load aliases
[[ -f /etc/profile.d/aliases.sh ]] && source /etc/profile.d/aliases.sh
# Initialize tools
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
# Welcome message
if [[ -o interactive ]]; then
echo ""
echo " Core Developer Environment"
echo " Run 'claude' to start AI-assisted development"
echo ""
fi
# Start in workspace if it exists
[[ -d /workspace ]] && cd /workspace