From 9e70ad0d1548deac9fe3a642f7aa0c8c6023d3fe Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 24 Jun 2021 16:35:47 -0700 Subject: [PATCH] Use p-strings --- xonsh/rc.xsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonsh/rc.xsh b/xonsh/rc.xsh index adb49db..49db4cb 100644 --- a/xonsh/rc.xsh +++ b/xonsh/rc.xsh @@ -46,7 +46,7 @@ def ensure_path(*paths: List[str]): 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(): source @(config_dir / "local.xsh")