[Haskell-cafe] Cabal sandbox status in your ZSH prompt
Daniil Frumin
difrumin at gmail.com
Sat Dec 14 18:51:30 UTC 2013
Hi everyone, I made a simple script for my zsh setup that allows me to
see whether am I in a cabalized sandbox environment or not.
On my machine it looks like this: <https://files.app.net/rjphjAG9.png>
The script itself is here: <https://gist.github.com/co-dan/7963200>
The result of checking for the sandbox is cached, which---as I've
realized only moments ago---is probably unnecessary; it updates only
when the user performs a `cabal` command or changes a directory.
--
Sincerely yours,
-- Daniil Frumin
More information about the Haskell-Cafe
mailing list