Shell Standards & QoL
Shell Standards & QoL
This page documents the standardized shell environment applied across the Flora Family infrastructure via Ansible.
🛠️ Ansible Management
- Playbook:
~/code/ansible-homelab/playbooks/base_setup.ymlonsaturn. - Scope: Applied to
terra,pluto, andluna.
🐚 ZSH Configuration
- Theme: Powerlevel10k
- Plugins: git, docker, curl, zoxide
- Specific Tweaks:
batis aliased tobatcat(Ubuntu standard).sudois aliased assudo(trailing space enables alias expansion for following commands).
🎨 Dynamic Theme Detection
Standardized the term_theme_detect function in linux_specific.zsh.
- Method: Uses OSC 11 ANSI query to detect background color.
- Trick: Uses
stty rawto ensure reliable reading of the escape sequence response over SSH. - Themes: Switches between
Catppuccin Latte(Light) andCatppuccin Frappe(Dark) automatically.
🐳 Docker Shortcuts
dcd: docker compose downdcu: docker compose up -ddcl: docker compose logs -fdcr: Custom function to cycle a service (down -> up -> logs).
🖥️ Terminal Standards
- Ghostty: High-performance terminal used on client devices.
- Title Format:
user@host:current_working_directory(managed via ZSH precmd).
No comments to display
No comments to display