Remove call to dirname(1)

This commit is contained in:
Alexander Rosenberg 2024-11-02 08:16:03 -07:00
parent d1d2422485
commit dfd7dddf75
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -36,7 +36,7 @@ unsetopt beep notify
# Some general, random configuration # Some general, random configuration
# History stuff # History stuff
[ -v HISTFILE ] || HISTFILE="${HOME}/.cache/zsh/history" [ -v HISTFILE ] || HISTFILE="${HOME}/.cache/zsh/history"
[ ! -d "$(dirname "${HISTFILE}")" ] && mkdir -p "$(dirname "${HISTFILE}")" [ ! -d "${HISTFILE:h}" ] && mkdir -p "${HISTFILE:h}"
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=10000 SAVEHIST=10000