aboutsummaryrefslogtreecommitdiff
path: root/config/zsh
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-07-07 09:10:40 -0500
committerMatt Singleton <matt@xcolour.net>2021-07-07 09:14:50 -0500
commit15ba147591264b58c866ec9a0db1022e7da610bf (patch)
treee58afd61be1b69164634a7c491205cca4c311511 /config/zsh
parent588a8049c03f3dc3204f7f7e63dfaf6908f18e2d (diff)
disable Apple Terminal's annoying session restore feature
Diffstat (limited to 'config/zsh')
-rw-r--r--config/zsh/.zprofile4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/zsh/.zprofile b/config/zsh/.zprofile
new file mode 100644
index 0000000..68b0ec4
--- /dev/null
+++ b/config/zsh/.zprofile
@@ -0,0 +1,4 @@
+if [ "$(uname)" = "Darwin" ]; then
+ # disable Apple Terminal's annoying session restore feature
+ SHELL_SESSIONS_DISABLE=1
+fi