Zsh-ify PATH and MANPATH
This commit is contained in:
parent
0ceb3c9e73
commit
d483b23eb1
@ -3,13 +3,15 @@ function() # Keep local variables in here.
|
||||
|
||||
############################## Paths ###########################################
|
||||
|
||||
export PATH="${HOME}/.local/bin:${PATH}:${HOME}/bin"
|
||||
path=(${HOME}/.local/bin ${path} ${HOME}/bin)
|
||||
path=(${(u)path})
|
||||
export HISTFILE="${ZDOTDIR}/.zsh_history"
|
||||
export ZSH_CACHE_DIR="${XDG_CACHE_HOME:-${HOME}/.cache}/zsh"
|
||||
mkdir -p "${ZSH_CACHE_DIR}"
|
||||
|
||||
if [[ -d "${XDG_DATA_HOME:-${HOME}/.local/share}/man/" ]]; then
|
||||
export MANPATH="${MANPATH}:${XDG_DATA_HOME:-${HOME}/.local/share}/man"
|
||||
manpath=(${manpath} ${XDG_DATA_HOME:-${HOME}/.local/share}/man)
|
||||
manpath=(${(u)manpath})
|
||||
fi
|
||||
|
||||
############################ Editor ############################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user