From de0c44111b4c7f27a4e60805c602667722178fbd Mon Sep 17 00:00:00 2001 From: lwad Date: Tue, 10 Sep 2024 18:22:00 +0100 Subject: [PATCH] feat: Move ~/.R{Data,history} to data home --- lwad/general.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lwad/general.nix b/lwad/general.nix index d5198b8..0d346d2 100644 --- a/lwad/general.nix +++ b/lwad/general.nix @@ -276,7 +276,8 @@ in { base = ''cd "$(tmux list-panes -F "#{pane_start_path}" | head -n 1)"''; - calculator = "(cd && ${pkgs.R}/bin/R --save --quiet)"; + calculator = + ''(cd "$XDG_DATA_HOME/R" && ${pkgs.R}/bin/R --save --quiet)''; chvt = "${config.lwad.rootCommand} ${pkgs.kbd}/bin/chvt"; cp = "cp -i"; eza = "${eza} --long --icons --git";