Opened 5 years ago

Closed 4 years ago

#7685 closed bug (fixed)

:script command does not resolve ~

Reported by: nomeata Owned by:
Priority: normal Milestone: 7.8.1
Component: GHCi Version: 7.6.2
Keywords: Cc: hvr
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Although the tab completion after ":script ~/..." would work, the command itself does not resolve ~ to the value of $HOME. This is counter-intuitive, and it would be nicer if ~ would work in parameters to :script.

Change History (5)

comment:1 Changed 5 years ago by igloo

difficulty: Unknown
Milestone: 7.8.1

Thanks for the suggestion.

comment:2 Changed 4 years ago by nomeata

Cc: hvr added
Status: newpatch

Fix was easy; please merge from branch WIP/T7685 or tell me to go ahead:

comment:3 Changed 4 years ago by thoughtpolice

Joachim, looks good to me. Please feel free to push it.

comment:4 Changed 4 years ago by Joachim Breitner <mail@…>

In ddc79b229d58c1bed8ae19b955b491436e015e96/ghc:

GHCi: Expand ~ in :script command

Fixes: #7685

comment:5 Changed 4 years ago by thoughtpolice

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.