[Haskell-cafe] Cabal sandbox status in your ZSH prompt
Alfredo Di Napoli
alfredo.dinapoli at gmail.com
Tue Dec 17 08:15:29 UTC 2013
Really useful, thanks!
On 15 December 2013 09:29, Krzysztof Skrzętnicki <gtener at gmail.com> wrote:
> Looks great, thanks for sharing! I think I'll give it a try.
> All best,
> Krzysztof Skrzętnicki
> On Sat, Dec 14, 2013 at 7:51 PM, Daniil Frumin <difrumin at gmail.com> wrote:
>> 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
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe