input-output-hk / devx

The Developer Experience Shell - This repo contains a nix develop shell for haskell. Its primary purpose is to help get a development shell for haskell quickly and across multiple operating systems (and architectures).
Apache License 2.0
37 stars 9 forks source link

Export a colored PS1 prompt in the shell #11

Closed zeme-iohk closed 1 year ago

zeme-iohk commented 1 year ago

This shell has been tested on https://github.com/Quviq/quickcheck-contractmodel and it works (even on WLS2). The developers are asking for a shell prompt, so that they know they are inside the shell. This prompt simply prints the current directory in yellow