mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Merge pull request #2392 from nathan-hoad/xonfig-output
Don't show the repr of the LazyBool for whether or not xonsh is running on Linux.
This commit is contained in:
commit
daa909fe13
2 changed files with 14 additions and 1 deletions
13
news/xonfig-output.rst
Normal file
13
news/xonfig-output.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
**Added:** None
|
||||
|
||||
**Changed:** None
|
||||
|
||||
**Deprecated:** None
|
||||
|
||||
**Removed:** None
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* ``xonfig`` now displays the proper value for "on linux"
|
||||
|
||||
**Security:** None
|
|
@ -374,7 +374,7 @@ def _info(ns):
|
|||
('shell type', env.get('SHELL_TYPE')),
|
||||
('pygments', pygments_version()),
|
||||
('on posix', bool(ON_POSIX)),
|
||||
('on linux', ON_LINUX),
|
||||
('on linux', bool(ON_LINUX)),
|
||||
])
|
||||
if ON_LINUX:
|
||||
data.append(('distro', linux_distro()))
|
||||
|
|
Loading…
Add table
Reference in a new issue