aboutsummaryrefslogtreecommitdiff
path: root/config/all/zsh/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'config/all/zsh/.zprofile')
-rw-r--r--config/all/zsh/.zprofile7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/all/zsh/.zprofile b/config/all/zsh/.zprofile
new file mode 100644
index 0000000..a9a13c9
--- /dev/null
+++ b/config/all/zsh/.zprofile
@@ -0,0 +1,7 @@
+if [ "$(uname)" = "Darwin" ]; then
+ # disable Apple Terminal's annoying session restore feature
+ SHELL_SESSIONS_DISABLE=1
+fi
+if [ "$DESKTOP_SESSION" = "sway-session" ]; then
+ export $(gnome-keyring-daemon --start)
+fi