Trying to set the
PS1 variables to customise the ZSH shell prompt with the popular GRML zshrc config, it has no effect, nothing happens at all:
root@machine ~ # PROMPT="> " root@machine ~ #
Why is that and what can I do about it?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
The GRML ZSH prompt system was revamped in 2013; the author's posts about it:
Post (2) explains the issue:
You will have to turn off the grml theme (and any other theme for that matter) beforehand. So your customisation becomes this:
# I want my own prompt! prompt off # customisation here
You can use that method, or you can use the newer
zstyle based approach described in posts (1) and (3) above.