Change projects hash alias to try `$Z_PROJECT_DIR` first before using `$HOME/Projects`
11 lines
305 B
Bash
11 lines
305 B
Bash
####################################
|
|
# create hashtable for common dirs #
|
|
####################################
|
|
|
|
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="${Z_PROJECT_DIR:-$HOME/Projects}"
|
|
# vim: ft=zsh
|