Terminal: Das prompt, dprompt and dbanner (0.9.1)
build / build (push) Successful in 38m26s

- das-shell 0.1.0: the Das two-line bash prompt by default (replaces the
  PS1 of Void's skel .bashrc once), dprompt (Textual prompt builder with
  presets and live preview) and dbanner (SSH login banner editor: canvas
  tools, fields with values, widgets, das-banner service for cached ones,
  Das OS logo and tryzub pictures). Python tests in make test.
- das-server 0.3.0 depends on das-shell; the server installer mentions
  dprompt and dbanner; the desktop image includes it.
- run-qemu.sh forwards the guest's SSH to localhost:2222.
- Hardware fixes: Ventoy menu icon, boot menu titles "Das OS <version>".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
das
2026-10-21 09:17:10 +03:00
co-authored by Claude Opus 5.5
parent 66ea614e0d
commit a2bffc7fe9
72 changed files with 5506 additions and 23 deletions
@@ -0,0 +1,17 @@
"""Das OS shell tools: dprompt (bash prompt builder) and dbanner (login banner editor)."""
import os
VERSION = "0.1.0"
# Installed layout; DAS_SHELL_DATA points the tools at the source tree for tests
DATA_DIR = os.environ.get("DAS_SHELL_DATA", "/usr/share/das")
LIB_DIR = os.environ.get("DAS_SHELL_LIB", "/usr/lib/das")
ETC_DIR = os.environ.get("DAS_SHELL_ETC", "/etc/das")
CACHE_DIR = os.environ.get("DAS_SHELL_CACHE", "/var/cache/das/banner")
def config_dir():
"""The user's Das OS settings directory (~/.config/das)."""
base = os.environ.get("XDG_CONFIG_HOME") or os.path.expanduser("~/.config")
return os.path.join(base, "das")