diff options
author | Matthew McCulley <matthew.c.mcculley@gmail.com> | 2021-11-07 09:05:27 -0500 |
---|---|---|
committer | Matthew McCulley <matthew.c.mcculley@gmail.com> | 2021-11-07 09:05:27 -0500 |
commit | 8e81135f8bb79930ed2495b90784cacc83cbb73f (patch) | |
tree | 232d44868a12cd5f0974fec4b433db2e8c3daffd /bin/mailsync | |
parent | bed0470f0db5c814f27a205f27d8fd4c1b42d79c (diff) |
Checks $HOME/.confg/zsh/.zshenv for Env variables
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-x | bin/mailsync | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync index ca7411d..e939b78 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -23,7 +23,8 @@ pgrep mbsync >/dev/null && { echo "mbsync is already running."; exit ;} eval "$(grep -h -- \ "^\s*\(export \)\?\(MBSYNCRC\|PASSWORD_STORE_DIR\|NOTMUCH_CONFIG\|GNUPGHOME\)=" \ "$HOME/.profile" "$HOME/.bash_profile" "$HOME/.zprofile" "$HOME/.config/zsh/.zprofile" "$HOME/.zshenv" \ - "$HOME/.bashrc" "$HOME/.zshrc" "$HOME/.config/zsh/.zshrc" "$HOME/.pam_environment" 2>/dev/null)" + "$HOME/.config/zsh/.zshenv" "$HOME/.bashrc" "$HOME/.zshrc" "$HOME/.config/zsh/.zshrc" \ + "$HOME/.pam_environment" 2>/dev/null)" export GPG_TTY="$(tty)" |