mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-12 11:01:14 +10:00
Compare commits
2
Commits
05b3a31ff4
...
a71d70ddf9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a71d70ddf9 | ||
|
|
2aa050ddee |
@@ -6,14 +6,13 @@
|
|||||||
#
|
#
|
||||||
# My xonsh config written in python as opposed to using the standard .xonshrc format.
|
# My xonsh config written in python as opposed to using the standard .xonshrc format.
|
||||||
import subprocess
|
import subprocess
|
||||||
from pathlib import Path
|
|
||||||
from xonsh.xontribs import xontribs_load
|
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", "~/.local/share/flatpak/exports/share", "/var/lib/flatpak/exports/share"]:
|
for d in ["~/.local/bin", "~/Applications", "~/.local/share/flatpak/exports/share", "/var/lib/flatpak/exports/share"]:
|
||||||
xenv["PATH"].append(Path(d).expanduser())
|
xenv["PATH"].append(d)
|
||||||
|
|
||||||
### BASH COMPLETIONS ###
|
### BASH COMPLETIONS ###
|
||||||
# Xonsh supports using existing Bash completion files.
|
# Xonsh supports using existing Bash completion files.
|
||||||
|
|||||||
Reference in New Issue
Block a user