mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
bash-completion: Update to 0.2.7 (#4153)
* bash-completion: Update to 0.2.7 * news: Update bash completion fix
This commit is contained in:
parent
c06872080e
commit
165f882f6d
2 changed files with 25 additions and 1 deletions
23
news/update-bash-completion.rst
Normal file
23
news/update-bash-completion.rst
Normal file
|
@ -0,0 +1,23 @@
|
|||
**Added:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* Absolute paths to executables don't break bash completions anymore
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
|
@ -15,7 +15,7 @@ import functools
|
|||
import subprocess
|
||||
import typing as tp
|
||||
|
||||
__version__ = "0.2.6"
|
||||
__version__ = "0.2.7"
|
||||
|
||||
|
||||
@functools.lru_cache(1)
|
||||
|
@ -335,6 +335,7 @@ def bash_completions(
|
|||
|
||||
splt = line.split()
|
||||
cmd = splt[0]
|
||||
cmd = os.path.basename(cmd)
|
||||
idx = n = 0
|
||||
prev = ""
|
||||
for n, tok in enumerate(splt):
|
||||
|
|
Loading…
Add table
Reference in a new issue