diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-10-17 20:53:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 20:53:07 +0200 |
commit | 2fce9a4d44f822c03ce874268338961d0761f1a9 (patch) | |
tree | eb1327c306f8fda150d7add5d534cb8a57648a5c /themes/re5et.zsh-theme | |
parent | ea7b886f701316199cf90761a6e9a2a27659b544 (diff) | |
download | zsh-2fce9a4d44f822c03ce874268338961d0761f1a9.tar.gz zsh-2fce9a4d44f822c03ce874268338961d0761f1a9.tar.bz2 zsh-2fce9a4d44f822c03ce874268338961d0761f1a9.zip |
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
Diffstat (limited to 'themes/re5et.zsh-theme')
0 files changed, 0 insertions, 0 deletions