From 75bb94f5b73ec66e6cfa73f9c53ae1875919645f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 3 Mar 2020 13:24:41 -0800 Subject: Fix my prompt --- lib/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common.nix') diff --git a/lib/common.nix b/lib/common.nix index ea1e420..e50ff10 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -136,7 +136,7 @@ in } # my prompt, after much chagrin - export PS1="\n\[\e[34m\][\u@\h:\w]\[\e[m\] $(date +%Y.%m.%d..%H.%M) \$(if [ \$? == 0 ]; then true; else echo \(\$?\); fi) \n$ " + export PS1="\n\[\e[34m\][\u@\h:\w]\[\e[m\] \$(date +%Y.%m.%d..%H.%M) \$(if [ \$? == 0 ]; then true; else echo \(\$?\); fi) \n$ " ''; shellAliases = { add = "git add --ignore-removal"; -- cgit v1.2.3