Fix ghci prompt length calc; simplify nix bash prompt because of line-length rendering issue
This commit is contained in:
parent
af4733773f
commit
b96baa843e
2 changed files with 2 additions and 2 deletions
2
.ghci
2
.ghci
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue