2

I'm new to Linux. I installed Haskell and was going through a tutorial, which showed me I can :set prompt "ghci> " to change the prompt. I like the way this looks. How can I make it so that Haskell uses this prompt by default, so I don't have to set it to be that every time?

1 Answer 1

3

add :set prompt "ghci> " to ~/.ghci

1
  • ghci also advised me to do chmod go-w ~/.ghci. (Error: *** WARNING: /home/barend/.ghci is writable by someone else, IGNORING! Suggested fix: execute 'chmod go-w /home/barend/.ghci')
    – grooveplex
    Oct 24, 2016 at 12:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .