From 10dd2266e7282c14186112a5da509e3906f2164f Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Mon, 29 Jul 2024 19:06:03 +0100 Subject: [PATCH] Add shell hooks --- templates/default/flake.nix | 4 ++++ templates/holo/flake.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/templates/default/flake.nix b/templates/default/flake.nix index cf6dcfa..69fffb1 100644 --- a/templates/default/flake.nix +++ b/templates/default/flake.nix @@ -28,6 +28,10 @@ binaryen # For WASM optimisation # Add any other packages you need here ]); + + shellHook = '' + export PS1='\[\033[1;34m\][holonix:\w]\$\[\033[0m\] ' + ''; }; }; }; diff --git a/templates/holo/flake.nix b/templates/holo/flake.nix index 22bc947..d097761 100644 --- a/templates/holo/flake.nix +++ b/templates/holo/flake.nix @@ -31,6 +31,10 @@ binaryen # For WASM optimisation # Add any other packages you need here ]); + + shellHook = '' + export PS1='\[\033[1;34m\][holonix:\w]\$\[\033[0m\] ' + ''; }; }; };