From bb1c660f3e0f1b471eb74cbb02275b97db3fa8b4 Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Thu, 23 Feb 2017 13:52:51 -0500 Subject: ghci users guide: mention "~" expansion in :add I discovered this feature via Stack Overflow. https://stackoverflow.com/questions/42310399 Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3150 --- docs/users_guide/ghci.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/users_guide/ghci.rst b/docs/users_guide/ghci.rst index d7f6b4b0eb..864ae80bd4 100644 --- a/docs/users_guide/ghci.rst +++ b/docs/users_guide/ghci.rst @@ -2045,6 +2045,10 @@ commonly used commands. available, or otherwise the module will be compiled to byte-code. Using the ``*`` prefix forces the module to be loaded as byte-code. + ⟨module⟩ may be a file path. A "``~``" symbol at the beginning of + ⟨module⟩ will be replaced by the contents of the environment variable + :envvar:`HOME`. + .. ghci-cmd:: :all-types List all types collected for expressions and (local) bindings -- cgit v1.2.1