From 8a6d9d8bc2ee2b5a1bbee7dde0ee9cf1cee9e093 Mon Sep 17 00:00:00 2001 From: Buddy Date: Fri, 17 Jan 2025 15:33:23 -0800 Subject: [PATCH] Reorder xdg env for macos macOS will ignore case when matching files. Put the caps letter for xdg first then the lower case version for linux --- dot_config/nushell/env.nu.tmpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dot_config/nushell/env.nu.tmpl b/dot_config/nushell/env.nu.tmpl index 3ea9a13..e005c49 100644 --- a/dot_config/nushell/env.nu.tmpl +++ b/dot_config/nushell/env.nu.tmpl @@ -37,15 +37,15 @@ load-env { XDG_INCLUDE_HOME: (add_xdg XDG_INCLUDE_HOME .local/include) XDG_STATE_HOME: (add_xdg XDG_STATE_HOME .local/state) - XDG_DESKTOP_DIR: (add_xdg XDG_DESKTOP_DIR desktop Desktop) - XDG_DOCUMENTS_DIR: (add_xdg XDG_DOCUMENTS_DIR documents Documents) - XDG_DOWNLOAD_DIR: (add_xdg XDG_DOWNLOAD_DIR downloads Downloads) - XDG_MUSIC_DIR: (add_xdg XDG_MUSIC_DIR music Music) - XDG_PICTURES_DIR: (add_xdg XDG_PICTURES_DIR pictures Pictures) - XDG_PODCAST_DIR: (add_xdg XDG_PODCAST_DIR podcasts Podcasts) - XDG_PUBLICSHARE_DIR: (add_xdg XDG_PUBLICSHARE_DIR public Public) - XDG_TEMPLATES_DIR: (add_xdg XDG_TEMPLATES_DIR templates Templates) - XDG_VIDEOS_DIR: (add_xdg XDG_VIDEOS_DIR videos Videos) + XDG_DESKTOP_DIR: (add_xdg XDG_DESKTOP_DIR Desktop desktop) + XDG_DOCUMENTS_DIR: (add_xdg XDG_DOCUMENTS_DIR Documents documents) + XDG_DOWNLOAD_DIR: (add_xdg XDG_DOWNLOAD_DIR Downloads downloads) + XDG_MUSIC_DIR: (add_xdg XDG_MUSIC_DIR Music music) + XDG_PICTURES_DIR: (add_xdg XDG_PICTURES_DIR Pictures pictures) + XDG_PODCAST_DIR: (add_xdg XDG_PODCAST_DIR Podcasts podcasts) + XDG_PUBLICSHARE_DIR: (add_xdg XDG_PUBLICSHARE_DIR Public public) + XDG_TEMPLATES_DIR: (add_xdg XDG_TEMPLATES_DIR Templates templates) + XDG_VIDEOS_DIR: (add_xdg XDG_VIDEOS_DIR Videos videos) } load-env {