Compare commits

...
2 Commits
Author SHA1 Message Date
Andy Kipp 05b3a31ff4 Merge branch 'patch-2' into 'master'
xonsh rc: expanduser is not needed

See merge request dwt1/dotfiles!95
2026-04-23 06:38:02 +00:00
Andy Kipp 2aa050ddee xonshrc: expanduser is not needed 2026-01-30 06:52:34 +00:00
+1 -2
View File
@@ -6,14 +6,13 @@
#
# My xonsh config written in python as opposed to using the standard .xonshrc format.
import subprocess
from pathlib import Path
from xonsh.xontribs import xontribs_load
xenv = __xonsh__.env
### ADDING DIRS TO PATH ###
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 ###
# Xonsh supports using existing Bash completion files.