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 <luke@lukesmith.xyz>
This commit is contained in:
Vlad Doster 2020-07-08 07:49:27 -05:00 committed by GitHub
parent ae9c12a861
commit e1a4273e11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}
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}