Compare commits

..

2 Commits

Author SHA1 Message Date
Zander671 559012b3fe Add minetest dotfile support 2023-05-20 00:50:22 -07:00
Zander671 259a576d7e Move zsh user dir default 2023-05-20 00:28:57 -07:00
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -48,4 +48,7 @@ export SQLITE_HISTORY="${XDG_CACHE_HOME}/sqlite_history"
export WINEPREFIX="${XDG_DATA_HOME}/wine"
# XAuthority
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
# Minetest
export MINETEST_USER_PATH="${XDG_DATA_HOME}/minetest"
+1 -1
View File
@@ -16,7 +16,7 @@ function cmd_exists {
}
# 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>
function source_user_file {
[ -e "${ZSH_USER_DIR}/${1}" ] && source "${ZSH_USER_DIR}/${1}"