This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for gromgit/fuse/ifuse-mac on macOS 11 | |
Build date: 2021-08-17 18:17:27 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; I wanted to be able to use mu4e contexts without showing my emails in GitHub dotfiles or creating another file to store the email accounts. | |
;; All email account information can be found in "~/.mbsyncrc", so I decided to work out a way to automatically create mu4e contexts based on all the sync-ed email accounts with mbsync. | |
;; (This method will not work for people not using mbsync, but the same idea can be applied to achieve the same results) | |
;; Since this function uses regular expressions to scrape the required data, it has some pre-defined format needed in "~/.mbsyncrc": | |
;; - "# Account: " is placed on top of every account to indicate different accounts | |
;; - "# Full Name: " below "# Account: " for the user's name | |
;; - "# SMTP " below "# Full Name: " needs the SMTP configurations | |
;; - "IMAPAccount ..." is used as the name of the account context | |
;; - "User ..." is the email address |