diff options
author | Luke Smith <luke@lukesmith.xyz> | 2022-01-22 01:38:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 01:38:45 +0000 |
commit | c983035d09ac60339f70616de5c7ba0fd87081e4 (patch) | |
tree | be407f0d6cf280527a9a360adf85e984ea3d2ec7 | |
parent | 037f3d26077dc7e34c526673b3a5d16218635cb8 (diff) | |
parent | 8e81135f8bb79930ed2495b90784cacc83cbb73f (diff) |
Merge pull request #791 from mmcculle/edit-mailsync-grep
Check $HOME/.config/zsh/.zshenv for enviromental varibles
-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)" |