summary refs log tree commit diff
path: root/run_macos_create_xdg_runtime_dir.sh
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-23 22:16:43 +0400
committerAlen <alen@dotfiles.xyz>2023-09-23 22:16:43 +0400
commit74fac2fd26ce672d02f68ef683463e9a86341aec (patch)
tree8b2a47bd71dc81e58a01a3d4004148a07507ada9 /run_macos_create_xdg_runtime_dir.sh
parent6cf9a6f786d7b6037efef0e611d36b3824d3a775 (diff)
Add XDH_* env vars to zshenv
Diffstat (limited to 'run_macos_create_xdg_runtime_dir.sh')
-rwxr-xr-xrun_macos_create_xdg_runtime_dir.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run_macos_create_xdg_runtime_dir.sh b/run_macos_create_xdg_runtime_dir.sh
new file mode 100755
index 0000000..bc1a95a
--- /dev/null
+++ b/run_macos_create_xdg_runtime_dir.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -e
+
+umask 0077
+mkdir -p "${HOME}/.cache/xdg-runtime-dir"