commit c983035d09ac60339f70616de5c7ba0fd87081e4
parent 037f3d26077dc7e34c526673b3a5d16218635cb8
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 22 Jan 2022 01:38:45 +0000
Merge pull request #791 from mmcculle/edit-mailsync-grep
Check $HOME/.config/zsh/.zshenv for enviromental varibles
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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)"