Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Weird behaviour with certain PS1-sequences



On Sep 27, 10:14pm, Juhapekka Tolvanen wrote:
> Subject: Weird behaviour with certain PS1-sequences
> 
> If I have this in .zshrc or give this in command line, shell goes to endless
> loop. Terminal is all blank and Ctrl-c and Ctrl-z does not help at all.
> 
> export PS1='%h|%l|%n@%m:%/ %# '

I can't reproduce this on Linux.  I've tried various prompt-related setopts
with no change in the behavior.

Please tell us more about your configuration.

> But this works fine:
> 
> export PS1='%h|%l|%n@%m:%/%# '

What does the prompt look like in that case?



Messages sorted by: Reverse Date, Date, Thread, Author