X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8f5f266ffbfe1df7ef1951984e636c5b72a00079..f7fbe71fc404d56c9543491344fc651ff3a7d744:/zshenv diff --git a/zshenv b/zshenv index fc7ffc8..e939573 100644 --- a/zshenv +++ b/zshenv @@ -5,7 +5,7 @@ export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" export HOST=$(hostname) -if [[ $+commands[systemctl] ]]; then +if hash systemctl 2>/dev/null; then systemctl --user import-environment \ XDG_CACHE_HOME \ XDG_CONFIG_HOME \