From e1a4273e11fba4ea2e396b83673f033cd67a40bb Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Wed, 8 Jul 2020 07:49:27 -0500 Subject: [PATCH] Make dir shortcuts use XDG DIRS and then use a default if need be (#725) * sort and make home shortcut break less * Update directories * Formatting * Add missing brackets * sort Co-authored-by: Luke Smith --- .config/directories | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/directories b/.config/directories index 29e228f..5e8173f 100644 --- a/.config/directories +++ b/.config/directories @@ -1,11 +1,11 @@ # You can add comments to these files with # -d ~/Documents -D ~/Downloads -h ${HOME:-~/} -m ~/Music -pp ~/Pictures -vv ~/Videos -cf ${XDG_CONFIG_HOME:-$HOME/.config} -cac ${XDG_CACHE_HOME:-$HOME/.cache} -mn /mnt -sc ~/.local/bin +cac ${XDG_CACHE_HOME:-$HOME/.cache} +cf ${XDG_CONFIG_HOME:-$HOME/.config} +D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} +d ${XDG_DOCUMENTS_DIR:-$HOME/Documents} +h ${XDG_CONFIG_HOME:-$HOME} +m ${XDG_MUSIC_DIR:-$HOME/Music} +mn /mnt +pp ${XDG_PICTURES_DIR:-$HOME/Pictures} +sc ~/.local/bin +vv ${XDG_VIDEOS_DIR:-$HOME/Videos} \ No newline at end of file