Ticket #5265 (closed feature request: fixed)
Support for additional .ghci files in GHCi.
| Reported by: | SamAnklesaria | Owned by: | pcapriotti |
|---|---|---|---|
| Priority: | high | Milestone: | 7.6.1 |
| Component: | Compiler | Version: | 7.0.3 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Currently, GHCi only loads a single .ghci file. As a result, all user customizations and macros must be centralized to one location. Additionally, this leaves limited potential for tools using GHCi (cabal-install, for example) to customize the interpretation environment. I propose adding a -ghci-script flag for each additional .ghci file to be loaded in the order specified on the command line after the usual .ghci file in the current or user directory.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

