
30 Jun
2004
30 Jun
'04
11:38 a.m.
Jorge Adriano Aires wrote:
Using the -i flag. Unfortunatly relative paths (using '~') don't seem to work, so you have to type the full path: ghci -i/home/user/HAppS/
right '~' is not expanded, but '-i../HApps:.' should work
As far as I know, there is also no way to specify the search path in an environment var, so my solution was to add to my .alias: alias ghci='ghci -i/home/jadrian/Program/Haskell/MyLibs' alias ghc='ghc -i/home/jadrian/Program/Haskell/MyLibs'
you can put :set -i/home/user/HAppS:... in your ~/.ghci file Christian