aboutsummaryrefslogtreecommitdiff
path: root/.config/shell/init
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2019-10-02 16:35:18 +0200
committerPatrick Spek <p.spek@tyil.nl>2019-10-02 16:35:18 +0200
commitd62f1d1673fc0a319ea4581dee0f6085b1f70005 (patch)
tree78ea262acbdf6b43ed9c7c3f18b8012867e40615 /.config/shell/init
parent06d7914df92c78469b84220aee5e18f2517af1dc (diff)
Add shell configs
Diffstat (limited to '.config/shell/init')
-rw-r--r--.config/shell/init8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/shell/init b/.config/shell/init
new file mode 100644
index 0000000..379d889
--- /dev/null
+++ b/.config/shell/init
@@ -0,0 +1,8 @@
+#! /usr/bin/env sh
+
+if [ -z "${SHELLSTORE}" ]
+then
+ SHELLSTORE=$(mktemp -d -t "shellstore_XXXXX")
+
+ export SHELLSTORE
+fi