mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00

### Motivation If `dircolors` utility is wrong by any reason you can't start xonsh shell. This should not be stopper. ### Before ```xsh cd /tmp echo '#!/bin/qwe' > dircolors && chmod +x dircolors echo '$PATH.append("/tmp")' > rc xonsh --no-env --rc /tmp/rc # OSError: [Errno 8] Exec format error: 'dircolors' # Xonsh encountered an issue during launch ``` ### After It's working. ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment** --------- Co-authored-by: a <1@1.1> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 lines
223 B
ReStructuredText
23 lines
223 B
ReStructuredText
**Added:**
|
|
|
|
* <news item>
|
|
|
|
**Changed:**
|
|
|
|
* <news item>
|
|
|
|
**Deprecated:**
|
|
|
|
* <news item>
|
|
|
|
**Removed:**
|
|
|
|
* <news item>
|
|
|
|
**Fixed:**
|
|
|
|
* Prevent exception on start up if ``dircolors`` util is wrong.
|
|
|
|
**Security:**
|
|
|
|
* <news item>
|