Hacker News new | past | comments | ask | show | jobs | submit login

Arch Linux. When using Zsh the last char is always a '%'. When using Bash it does no show a '%' but there's no line break. Possibly an weird interaction with my $PS1.



That's definitely a Zsh thing, showing that there was no newline: https://zsh.sourceforge.io/Doc/Release/Options.html#Promptin.... It's not to do with PS1 or PROMPT, or head.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: