mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +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
|
||||
|
||||
|
||||
### 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 ###
|
||||
|
||||
Reference in New Issue
Block a user