Update dir_aliases

Update the directory aliases to use the hash builtin,
This allows better use of the aliases
This commit is contained in:
Robert Morrison 2022-02-15 02:42:19 +00:00
parent 64144cba89
commit 3a11984112
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -1,8 +1,9 @@
############################ ####################################
# Alias Common Directories # # create hashtable for common dirs #
############################ ####################################
alias -g DX='$HOME/Documents'
alias -g DL='$HOME/Downloads'
alias -g CN='${XDG_CONFIG_HOME:-$HOME/.config}'
hash -d dx="$HOME/Documents"
hash -d dl="$HOME/Downloads"
hash -d cn="${XDG_CONFIG_HOME:-$HOME/.config}"
hash -d px="$HOME/Pictures"
hash -d pr="$HOME/Projects"