From 0b7708a44eef8efc930a124334843989b00882bd Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 18 Mar 2025 20:35:58 +0100 Subject: [PATCH] Move XDG_DATA_DIR manipulation to a separate file --- conf.d/xdg-data-dirs.fish | 1 + config.fish | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 conf.d/xdg-data-dirs.fish diff --git a/conf.d/xdg-data-dirs.fish b/conf.d/xdg-data-dirs.fish new file mode 100644 index 0000000..af26f31 --- /dev/null +++ b/conf.d/xdg-data-dirs.fish @@ -0,0 +1 @@ +test -x $HOME/.local/bin/update-xdg-data-dirs.py; and set -gx XDG_DATA_DIRS ($HOME/.local/bin/update-xdg-data-dirs.py) diff --git a/config.fish b/config.fish index a6ae084..a785269 100644 --- a/config.fish +++ b/config.fish @@ -1,5 +1,4 @@ fish_add_path --append /usr/sbin -test -x $HOME/.local/bin/update-xdg-data-dirs.py; and set -gx XDG_DATA_DIRS ($HOME/.local/bin/update-xdg-data-dirs.py) # My own stuff fish_add_path --prepend $HOME/bin