From ab4e8a6e5385dd0c1dadcea956b73daf73e5873a Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Fri, 25 Mar 2016 09:50:03 +0100 Subject: [PATCH] this should be standard --- zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zshrc b/zshrc index 8a97bd0..e1920b0 100644 --- a/zshrc +++ b/zshrc @@ -26,6 +26,14 @@ autoload -U colors && colors PS1="[%*] %{$fg[red]%}%n@%m%{$reset_color%} %{$fg[green]%}%~%{$reset_color%} "'$(git_status | xargs echo)'" %(?.$.%%) "; setopt promptsubst +# XDG dirs +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_RUNTIME_DIR="/tmp/runtime-noctua" +mkdir -p "/tmp/runtime-noctua" +chmod 0700 /tmp/runtime-noctua + # Color ls alias ls="ls --color=auto"