diff --git a/files/etc/zsh/zshenv b/files/etc/zsh/zshenv index a752b1e..7266555 100644 --- a/files/etc/zsh/zshenv +++ b/files/etc/zsh/zshenv @@ -1,4 +1,4 @@ #!/bin/sh -[ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/local/share:/usr/share" -[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME="$HOME/.config" -[ -d "$XDG_CONFIG_HOME/zsh" ] && export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +[ -z "${XDG_DATA_DIRS}" ] && export XDG_DATA_DIRS="/usr/local/share:/usr/share" +[ -z "${XDG_CONFIG_HOME}" ] && export XDG_CONFIG_HOME="${HOME}/.config" +[ -d "${XDG_CONFIG_HOME}/zsh" ] && export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"