Fix ghci prompt length calc; simplify nix bash prompt because of line-length rendering issue

This commit is contained in:
Robert W. Pearce 2021-07-04 00:09:42 -04:00
parent af4733773f
commit b96baa843e
No known key found for this signature in database
GPG Key ID: 07A0E482E5616C9B
2 changed files with 2 additions and 2 deletions

2
.ghci
View File

@ -2,6 +2,6 @@
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\""
:set -Wall
:set -fno-warn-type-defaults -ferror-spans -freverse-errors -fprint-expanded-synonyms
:set prompt "\ESC[0;32m%s\n\ESC[m[ghci]\ESC[38;5;172mλ \ESC[m"
:set prompt "\ESC[0;32m%s\n\ESC[m[ghci]\ESC[38;5;172mλ \ESC[m\STX"
:set prompt-cont " \ESC[38;5;172m> \ESC[m"
:load ssg/src/Slug.hs ssg/src/Main.hs

View File

@ -1,7 +1,7 @@
{
description = "hakyll-nix-template";
nixConfig.bash-prompt = "[nix]\\e\[38;5;172mλ \\e\[m";
nixConfig.bash-prompt = "[nix]λ ";
inputs = {
nixpkgs.url = "nixpkgs/nixos-21.05";