From b77052835604ece8bce1975779eef8f4f9e5f34e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 5 Jul 2019 23:12:45 -0700 Subject: simple bash prompt in blue --- common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.nix b/common.nix index 8429b87..a80a165 100644 --- a/common.nix +++ b/common.nix @@ -157,6 +157,9 @@ in function cd() { builtin cd "$@" && ls } + + # my prompt, after much chagrin + export PS1='\n\[\e[34m\][\u@\h:\w]\[\e[m\] $(date +%Y.%m.%d..%H.%M) \n$ ' ''; shellAliases = { #z = "fasd_cd -d"; # cd, same functionality as j in autojump -- cgit v1.2.3