diff options
author | Pepe Iborra <mnislaih@gmail.com> | 2007-01-11 13:11:56 +0000 |
---|---|---|
committer | Pepe Iborra <mnislaih@gmail.com> | 2007-01-11 13:11:56 +0000 |
commit | e34e36a0a7c759dbc542a49ffbc060f95231dabd (patch) | |
tree | 4c402fcd0e0e32e90b39749f0e08c5f266e68b50 /compiler | |
parent | b42bade7bb3db336242a6fc38aa6ef43f6cf28ef (diff) | |
download | haskell-e34e36a0a7c759dbc542a49ffbc060f95231dabd.tar.gz |
:cd is a top level only command, that is, not allowed in inferior ghci sessions
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ghci/InteractiveUI.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index 3fbdcbe576..c2fb51dbfa 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -114,7 +114,7 @@ builtin_commands :: [Command] builtin_commands = [ ("add", tlC$ keepGoingPaths addModule, False, completeFilename), ("browse", keepGoing browseCmd, False, completeModule), - ("cd", keepGoing changeDirectory, False, completeFilename), + ("cd", tlC$ keepGoing changeDirectory, False, completeFilename), ("def", keepGoing defineMacro, False, completeIdentifier), ("e", keepGoing editFile, False, completeFilename), -- Hugs users are accustomed to :e, so make sure it doesn't overlap |