Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
a6af61e0
Commit
a6af61e0
authored
Jul 16, 2007
by
Ian Lynagh
Browse files
Correct user guide on when .ghci is read
parent
2df369da
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/ghci.xml
View file @
a6af61e0
...
...
@@ -2424,9 +2424,10 @@ Prelude> :set -fno-glasgow-exts
<indexterm><primary>
startup
</primary><secondary>
files, GHCi
</secondary>
</indexterm>
<para>
When it starts, GHCi always reads and executes commands from
<filename>
$HOME/.ghci
</filename>
, followed by
<filename>
./.ghci
</filename>
.
</para>
<para>
When it starts, unless the
<literal>
-ignore-dot-ghci
</literal>
flag is given, GHCi reads and executes commands from
<filename>
./.ghci
</filename>
, followed by
<filename>
$HOME/.ghci
</filename>
.
</para>
<para>
The
<filename>
.ghci
</filename>
in your home directory is
most useful for turning on favourite options (eg.
<literal>
:set
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment