Hacker News new | ask | show | jobs
by werkshy 5159 days ago
Post says $PS1="\[\033[G\]$PS1"

But the first $ is wrong, it should read PS1="\[\033[G\]$PS1"

1 comments

Even

    export PS1="\[\033[G\]$PS1"
I don't think exporting PS1 is a good idea. Child processes don't need it and if I launch a different shell with different PS1 semantics I get a broken prompt instead of whatever the default for that shell is.