diff options
author | zsmith <zsmith@newhopechurch.tv> | 2025-08-11 15:40:58 -0500 |
---|---|---|
committer | zsmith <zsmith@newhopechurch.tv> | 2025-08-11 15:40:58 -0500 |
commit | 7c13b751d2001c3ec8bbd4b22e4716267d3cd3e3 (patch) | |
tree | ebb7048a1e1a26069e615fcc24c29e54e45f3cb9 /sh/profile | |
parent | 15e94d2694f8e84b0fa4454200c1c5bd0c449089 (diff) |
Only source user-dirs file when it existsmac
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"} export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"} export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"} -. "$HOME/.config/user-dirs.dirs" +[ -f "$XDG_CONFIG_HOME/user-dirs.dirs" ] && . "$HOME/.config/user-dirs.dirs" export XDG_CURRENT_DESKTOP="Hyprland" export XDG_DOCUMENTS_DIR=${HOME}/Documents export XDG_DOWNLOAD_DIR=${HOME}/Downloads |