From 061df4ebdb089143298310802559aefd39656df9 Mon Sep 17 00:00:00 2001 From: Nicolas De Jaeghere Date: Mon, 30 Nov 2020 17:24:49 +0100 Subject: [PATCH] [leiningen] Move data directory out of the way --- Makefile | 4 ++-- dotfiles.org | 7 +++++++ stow/leiningen/.config/environment.d/50-leiningen.conf | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 stow/leiningen/.config/environment.d/50-leiningen.conf diff --git a/Makefile b/Makefile index 34ae90978..620aab8d7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ packages := avahi bash blueman calf catgen cmake cuda cups emacs env firefox \ - freecad git gnupg hwloc isync java jupyter keras mu nltk picom qt \ - ssh steam tex vdirsyncer xdg xsettingsd + freecad git gnupg hwloc isync java jupyter keras leiningen mu nltk \ + picom qt ssh steam tex vdirsyncer xdg xsettingsd .PHONY: install uninstall install: diff --git a/dotfiles.org b/dotfiles.org index e2364a6b0..9b77f9fa7 100644 --- a/dotfiles.org +++ b/dotfiles.org @@ -836,6 +836,13 @@ Move configuration directory out of the way. IPYTHONDIR="${XDG_CONFIG_HOME:-$HOME/.config}/ipython" #+END_SRC +* Leiningen +Move data directory out of the way. + +#+BEGIN_SRC conf :tangle stow/leiningen/.config/environment.d/50-leiningen.conf + LEIN_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/lein" +#+END_SRC + * CUDA Move cache directory out of the way. diff --git a/stow/leiningen/.config/environment.d/50-leiningen.conf b/stow/leiningen/.config/environment.d/50-leiningen.conf new file mode 100644 index 000000000..b54ad8a66 --- /dev/null +++ b/stow/leiningen/.config/environment.d/50-leiningen.conf @@ -0,0 +1 @@ +LEIN_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/lein"