1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-01-02 00:24:45 +01:00
Files
oh-my-zsh/themes/agnoster.zsh-theme
Marc Cornellà 2fce9a4d44 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
2018-10-17 20:53:07 +02:00

7.2 KiB