From 264617dfb63827fc6782690707ae6cf70aa8b63a Mon Sep 17 00:00:00 2001 From: George Chatzopoulos Date: Wed, 4 Nov 2026 07:39:12 +0200 Subject: [PATCH] Making it visible when in a devshell via a prefix to the PS1 --- modules/dev-static.nix | 1 + modules/dev.nix | 3 ++- modules/hack.nix | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/dev-static.nix b/modules/dev-static.nix index 162b1ed..66b33f7 100644 --- a/modules/dev-static.nix +++ b/modules/dev-static.nix @@ -27,6 +27,7 @@ pkgs.mkShell { ]; shellHook = '' + export DEV_SHELL_NAME="dev-static" echo "Static Dev system ready: Linux & Windows" ''; } diff --git a/modules/dev.nix b/modules/dev.nix index e17775b..adba50f 100644 --- a/modules/dev.nix +++ b/modules/dev.nix @@ -30,6 +30,7 @@ pkgs.mkShell { ]; shellHook = '' + export DEV_SHELL_NAME="dev" echo "Dev system ready: Linux & Windows" ''; -} \ No newline at end of file +} diff --git a/modules/hack.nix b/modules/hack.nix index c377812..365c15c 100644 --- a/modules/hack.nix +++ b/modules/hack.nix @@ -52,6 +52,7 @@ pkgs.mkShell { ]; shellHook = '' + export DEV_SHELL_NAME="hack" echo "Hacking system ready" ''; -} \ No newline at end of file +}