From e9dc4c1090abb01317847c417b75d3960f3da34d Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 3 Feb 2023 14:39:07 -0600 Subject: only install platform-appropriate configs based on uname --- config/all/zsh/.zprofile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/all/zsh/.zprofile (limited to 'config/all/zsh/.zprofile') 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 -- cgit v1.2.3