Skip to content
Unverified Commit 2fce9a4d authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

agnoster: use %n instead of $USER to fix quoting

Fixes #7268

With `$USER`, we'd need to quote it in case special characters like `\` are present in
the $USER value, like if the user is part of an AD domain.

With `%n` the quoting is done automatically by zsh.
See http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Login-information
parent ea7b886f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment