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

* Improve bash_completer (#4664) * add protection againts bash completion scripts which changes ~ to /home/user * Add news file * Run black * Add new TC covering fix
25 lines
494 B
ReStructuredText
25 lines
494 B
ReStructuredText
**Added:**
|
|
|
|
* <news item>
|
|
|
|
**Changed:**
|
|
|
|
* <news item>
|
|
|
|
**Deprecated:**
|
|
|
|
* <news item>
|
|
|
|
**Removed:**
|
|
|
|
* <news item>
|
|
|
|
**Fixed:**
|
|
|
|
* Some of the bash completions scripts can change path starting with '~/' to `/home/user/` during autocompletion.
|
|
xonsh `bash_completions` does not expect that, so it breaks autocompletion by producing paths like `~/f/home/user/foo`.
|
|
After the fix if bash returns changed paths then `/home/user` prefix will be replaced with `~/`.
|
|
|
|
**Security:**
|
|
|
|
* <news item>
|