1
0
Fork 0

Zsh: Fix some things

This commit is contained in:
tastytea 2022-03-28 06:14:46 +02:00
parent 242c08722f
commit bc23116aa8
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
3 changed files with 4 additions and 4 deletions

View File

@ -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 ############################################

View File

@ -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, <https://github.com/junegunn/fzf>.
export FZF_CTRL_R_OPTS="--layout=reverse"

View File

@ -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"