Compare commits

..

2 Commits

Author SHA1 Message Date
559012b3fe
Add minetest dotfile support 2023-05-20 00:50:22 -07:00
259a576d7e
Move zsh user dir default 2023-05-20 00:28:57 -07:00
2 changed files with 5 additions and 2 deletions

View File

@ -48,4 +48,7 @@ export SQLITE_HISTORY="${XDG_CACHE_HOME}/sqlite_history"
export WINEPREFIX="${XDG_DATA_HOME}/wine" export WINEPREFIX="${XDG_DATA_HOME}/wine"
# XAuthority # XAuthority
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
# Minetest
export MINETEST_USER_PATH="${XDG_DATA_HOME}/minetest"

View File

@ -16,7 +16,7 @@ function cmd_exists {
} }
# User configuration file # User configuration file
[[ -v ZSH_USER_DIR ]] || ZSH_USER_DIR="${HOME}/.zsh.d" [[ -v ZSH_USER_DIR ]] || ZSH_USER_DIR="${HOME}/.config/zsh"
# source_user_file <name> # source_user_file <name>
function source_user_file { function source_user_file {
[ -e "${ZSH_USER_DIR}/${1}" ] && source "${ZSH_USER_DIR}/${1}" [ -e "${ZSH_USER_DIR}/${1}" ] && source "${ZSH_USER_DIR}/${1}"