Use p-strings
This commit is contained in:
@@ -46,7 +46,7 @@ def ensure_path(*paths: List[str]):
|
|||||||
|
|
||||||
ensure_path("/usr/local/bin", "~/.dotfiles/bin", "~/.local/bin", "~/bin", "~/.emacs.d/bin")
|
ensure_path("/usr/local/bin", "~/.dotfiles/bin", "~/.local/bin", "~/bin", "~/.emacs.d/bin")
|
||||||
|
|
||||||
config_dir = Path.home() / ".dotfiles" / "xonsh"
|
config_dir = p"~/.dotfiles/xonsh"
|
||||||
|
|
||||||
if (config_dir / "local.xsh").exists():
|
if (config_dir / "local.xsh").exists():
|
||||||
source @(config_dir / "local.xsh")
|
source @(config_dir / "local.xsh")
|
||||||
|
|||||||
Reference in New Issue
Block a user