Files
scripts/bashrc
T
adamfandClaude Opus 5.5 7ab3dc7779 Run dev tooling in a persistent "dev" distrobox on the Steam Deck
SteamOS updates wipe pacman-installed packages and headers, so nvim,
treesitter build deps and Go tools now live in an Arch distrobox.

- bashrc: auto-enter the dev container from interactive host shells
  (skip with NO_DISTROBOX=1)
- systemd/distrobox-dev.service: start the container at login
- packages.txt: add treesitter build deps, Nerd Font symbols, Go devtools

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 16:08:25 +00:00

9 lines
366 B
Bash

alias vim=nvim
# Drop interactive host shells straight into the "dev" distrobox.
# Skip with: NO_DISTROBOX=1 bash
if [[ $- == *i* && -z $CONTAINER_ID && ! -e /run/.containerenv && -z $NO_DISTROBOX ]] \
&& command -v distrobox >/dev/null && podman container exists dev 2>/dev/null; then
distrobox enter dev && exit # falls back to host shell if enter fails
fi