diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 6b934f9..1afff98 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -8,8 +8,8 @@ export HISTFILE="${ZDOTDIR}/.zsh_history" export ZSH_CACHE_DIR="${XDG_CACHE_HOME:-${HOME}/.cache}/zsh" mkdir -p "${ZSH_CACHE_DIR}" -if [[ -d "${HOME}/.local/share/man/" ]]; then - export MANPATH="${MANPATH}:${HOME}/.local/share/man" +if [[ -d "${XDG_DATA_HOME:-${HOME}/.local/share}/man/" ]]; then + export MANPATH="${MANPATH}:${XDG_DATA_HOME:-${HOME}/.local/share}/man" fi ############################ Editor ############################################ diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e8e4df5..26faf04 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -57,7 +57,7 @@ add-zsh-hook zshaddhistory _my_import_history_zshaddhistory export ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) # Set up in .zprofile. -source ${ZSH_PLUGIN_SOURCE} +source "${ZSH_PLUGIN_SOURCE}" # Fuzzy finder, . export FZF_CTRL_R_OPTS="--layout=reverse" diff --git a/.config/zsh/zaliases b/.config/zsh/zaliases index d1c08d6..f240a10 100644 --- a/.config/zsh/zaliases +++ b/.config/zsh/zaliases @@ -20,7 +20,7 @@ alias ltail="tail -n 50" alias lhead="head -n 50" alias po="popd" -alias d="print ${dirstack}" +alias d='print ${dirstack}' alias man="LC_MESSAGES=C man" alias make="LC_MESSAGES=C make"