1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-02-21 22:04:10 +08:00
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
..
2012-08-14 12:23:11 -03:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2012-12-28 18:04:15 -02:00
2011-07-12 23:20:21 -04:00
2018-08-07 20:42:01 +02:00
2010-05-08 04:32:03 +08:00
2015-10-22 16:58:44 +05:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2011-05-30 19:10:26 -04:00
2009-09-22 23:02:18 +01:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2012-03-07 23:52:51 +08:00
2013-03-30 16:01:31 +01:00
2018-08-07 20:42:01 +02:00
2010-05-08 04:20:59 +08:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2011-06-01 12:45:15 +02:00
2012-11-20 00:33:52 +00:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2010-05-08 04:26:47 +08:00
2018-08-07 20:42:01 +02:00
2010-05-08 04:32:35 +08:00
2014-06-08 10:43:26 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2010-06-05 23:24:21 +08:00
2018-08-07 20:42:01 +02:00
2009-10-08 09:50:32 +11:00