Skip to content

Instantly share code, notes, and snippets.

@evgenii-malov
Last active February 9, 2024 13:06
Show Gist options
  • Save evgenii-malov/d673e7030e544fcfa7b54a56c53fb4c9 to your computer and use it in GitHub Desktop.
Save evgenii-malov/d673e7030e544fcfa7b54a56c53fb4c9 to your computer and use it in GitHub Desktop.
prettify ghci
for haskell repl:
:set prompt "\ESC[34mλ> \ESC[m"
for python repl:
sys.ps1 = '\x01\x1b[1;49;31m\x02λ>\x01\x1b[0m\x02'
sys.ps2 = '\x01\x1b[1;49;31m\x02λ>\x01\x1b[0m\x02'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment