Adding BASH_COMPLETIONS variable to xonsh rc.py.

This commit is contained in:
Derek Taylor
2025-12-27 15:21:19 -06:00
parent 24cafc4f69
commit bc3a53e22e

View File

@@ -11,12 +11,14 @@ from xonsh.xontribs import xontribs_load
xenv = __xonsh__.env
### ADDING DIRS TO PATH ###
for d in ["~/.local/bin", "~/Applications"]:
xenv["PATH"].append(Path(d).expanduser())
### BASH COMPLETIONS ###
# Xonsh supports using existing Bash completion files.
# You must have the bash-completion package installed on your system.
# Then add the path to the bash completion file to the variable below.
xenv['BASH_COMPLETIONS']='/usr/share/bash-completion/bash_completion'
### XONSH THEME ###