ghci配置文件

rtu*_*ado 51 haskell ghci

我在Ubuntu上使用ghci 6.8.2.ghci是否使用我们可以进行初始设置的配置文件?例如::set prompt "ghci> ".

hvr*_*hvr 71

你有没有尝试添加:set prompt "ghci> "〜/ .ghci


sja*_*obi 45

应用@ hvr的答案后,我收到了以下警告:

*** WARNING: ~/.ghci is writable by someone else, IGNORING!
Run Code Online (Sandbox Code Playgroud)

解决方案是chmod g-w ~/.ghci.