Show dev shell prompt indicator

This commit is contained in:
Timothy J. Aveni
2026-07-11 21:53:44 -07:00
parent 6b5dfb37f4
commit cd33a5ca59
+9
View File
@@ -15,6 +15,15 @@
packages = [
pkgs.nodejs_24
];
shellHook = ''
if [ -n "''${PS1-}" ]; then
if [ -n "''${QX_DEV_SHELL_PROMPT-}" ]; then
PS1="''${PS1#\[qx:''${QX_DEV_SHELL_PROMPT}\] }"
fi
export QX_DEV_SHELL_PROMPT="control-plane-protocol"
PS1="[qx:control-plane-protocol] $PS1"
fi
'';
};
});
}