Open
Description
Steps to reproduce
from within a project root folder
> stack ghci
stack confirms it read the ~/.ghci file
within ghci
:cmdName
unknown command ':cmdName'.
Note:
stack ghci from my home directory works as expected. The .ghci
file contents:
:set prompt "\ESC[0;34mλ> \ESC[m"
:def source readFile
-- Pretty printing of it
import IPPrint.Colored
:set -interactive-print=IPPrint.Colored.cpprint
:def cp (\_ -> return ":set -interactive-print=IPPrint.Colored.cpprint")
:def ncp (\_ -> return ":set -interactive-print=print")
Expected
the commands executed within ghci to be recognized.
Stack version
stack version 1.7.1
ghci version 8.4.3
Method of installation
> stack build --compiler-tool ghci-pretty