summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-27 18:30:02 -0700
committerxyz <gky44px1999@gmail.com>2021-09-27 18:30:02 -0700
commitb63d390057e957e0f27990bb868f171f8233c0cf (patch)
treef02b89dfb07ab3001f114736362a781914febb82
parent8a907425aab9ceeeba2c9201aa2caf1fdbe85f4f (diff)
add / at end of all dir env
-rw-r--r--.config/user-dirs.dirs12
-rw-r--r--.profile6
2 files changed, 9 insertions, 9 deletions
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs
index 12d8d297..dd2923e9 100644
--- a/.config/user-dirs.dirs
+++ b/.config/user-dirs.dirs
@@ -5,11 +5,11 @@
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
-XDG_DESKTOP_DIR="$HOME/desktop"
-XDG_DOWNLOAD_DIR="$HOME/downloads"
+XDG_DESKTOP_DIR="$HOME/desktop/"
+XDG_DOWNLOAD_DIR="$HOME/downloads/"
XDG_TEMPLATES_DIR="$HOME"
XDG_PUBLICSHARE_DIR="$HOME"
-XDG_DOCUMENTS_DIR="$HOME/documents"
-XDG_MUSIC_DIR="$HOME/music"
-XDG_PICTURES_DIR="$HOME/pictures"
-XDG_VIDEOS_DIR="$HOME/videos"
+XDG_DOCUMENTS_DIR="$HOME/documents/"
+XDG_MUSIC_DIR="$HOME/music/"
+XDG_PICTURES_DIR="$HOME/pictures/"
+XDG_VIDEOS_DIR="$HOME/videos/"
diff --git a/.profile b/.profile
index b6a7581e..51cc2de2 100644
--- a/.profile
+++ b/.profile
@@ -6,9 +6,9 @@
#[[ -f ~/.bashrc ]] && . ~/.bashrc
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_CACHE_HOME="$HOME/.cache"
-export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CONFIG_HOME="$HOME/.config/"
+export XDG_CACHE_HOME="$HOME/.cache/"
+export XDG_DATA_HOME="$HOME/.local/share/"
. "$XDG_CONFIG_HOME/user-dirs.dirs"
export XDG_DESKTOP_DIR="$XDG_DESKTOP_DIR"