diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-06-21 18:52:21 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-06-21 18:52:21 +0100 |
| commit | 258747fb9474f6181427a6695ba6704889e05e1f (patch) | |
| tree | 431c26a9c3b38ae289d8763a66cef1b945fda8a1 | |
| parent | a5175a90ba41110e91a323715bf159b6b5776627 (diff) | |
darwin/zsh: Shorten XDG_RUNTIME_DIR
| -rw-r--r-- | dotfiles-darwin/zsh/env | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dotfiles-darwin/zsh/env b/dotfiles-darwin/zsh/env index 49e303e..9c4badb 100644 --- a/dotfiles-darwin/zsh/env +++ b/dotfiles-darwin/zsh/env @@ -4,6 +4,4 @@ export GOPATH=~/Go export XDG_CACHE_HOME=~/Library/Caches export XDG_CONFIG_HOME=~/Library/Preferences export XDG_DATA_HOME=~/Library -export XDG_RUNTIME_DIR=${TMPDIR}org.awhk.runtime-dir - -[[ ! -d ${XDG_RUNTIME_DIR} ]] && mkdir -p ${XDG_RUNTIME_DIR} +export XDG_RUNTIME_DIR=${TMPDIR%/} |
