mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
Adding BASH_COMPLETIONS variable to xonsh rc.py.
This commit is contained in:
@@ -11,12 +11,14 @@ from xonsh.xontribs import xontribs_load
|
|||||||
|
|
||||||
xenv = __xonsh__.env
|
xenv = __xonsh__.env
|
||||||
|
|
||||||
|
|
||||||
### ADDING DIRS TO PATH ###
|
### ADDING DIRS TO PATH ###
|
||||||
for d in ["~/.local/bin", "~/Applications"]:
|
for d in ["~/.local/bin", "~/Applications"]:
|
||||||
xenv["PATH"].append(Path(d).expanduser())
|
xenv["PATH"].append(Path(d).expanduser())
|
||||||
|
|
||||||
### BASH COMPLETIONS ###
|
### 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'
|
xenv['BASH_COMPLETIONS']='/usr/share/bash-completion/bash_completion'
|
||||||
|
|
||||||
### XONSH THEME ###
|
### XONSH THEME ###
|
||||||
|
|||||||
Reference in New Issue
Block a user