From f47734b524858c6acfa2627b46f94af013762cd4 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 28 Apr 2023 18:12:10 +0200 Subject: [PATCH] Simplify bash prompt --- common/main.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/main.nix b/common/main.nix index 0b76d22..c7fc6ce 100644 --- a/common/main.nix +++ b/common/main.nix @@ -49,6 +49,10 @@ programs.zsh.enable = true; programs.zsh.histSize = 100000; + programs.bash.promptInit = '' + PS1="\h\\$ " + ''; + # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you # accidentally delete configuration.nix.