Add XDG_DATA_DIRS

This commit is contained in:
dabruh 2024-04-12 18:31:34 +02:00
parent 8732f97c2b
commit 597c73c9c3
1 changed files with 4 additions and 0 deletions

4
.config/shell/profile Normal file → Executable file
View File

@ -126,6 +126,10 @@ fi
PATH="$(modify_env_path delete "$PATH" "$prepend_paths")"
PATH="$(modify_env_path prepend "$PATH" "$prepend_paths")"
prepend_data_dirs="/var/lib/snapd/desktop:/usr/share:/usr/local/share"
XDG_DATA_DIRS="$(modify_env_path delete "$XDG_DATA_DIRS" "$prepend_data_dirs")"
XDG_DATA_DIRS="$(modify_env_path prepend "$XDG_DATA_DIRS" "$prepend_data_dirs")"
# Add the profile-extras file yourself if you wish to override anything:
PROFILE_EXTRAS="$XDG_CONFIG_HOME/shell/profile-extras"