Bug 23670 – Add ability to not overwrite prompt (PS1)

Status
NEW
Severity
enhancement
Priority
P4
Component
installer
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-02-05T01:57:39Z
Last change time
2025-01-02T15:47:35Z
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: installer#667 →

Comments

Comment #0 by andrej.mitrovich — 2023-02-05T01:57:39Z
I like installing the compiler via `curl -fsS https://dlang.org/install.sh | bash -s dmd`, but it's annoying that it overwrites my terminal prompt. So every time I install it I have to edit the file `vi ~/dlang/dmd-<release>/activate` and comment out `export PS1="(dmd-2.097.2)${PS1:-}"`. Can we add the option to skip overwriting PS1?
Comment #1 by robert.schadek — 2025-01-02T15:47:35Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/667 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB