mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-12 02:51:14 +10:00
xonshrc: expanduser is not needed
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user