summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/mutt/muttrc17
-rwxr-xr-x.local/bin/xdg-open2
-rw-r--r--.zprofile4
3 files changed, 20 insertions, 3 deletions
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
new file mode 100644
index 0000000..af71e9f
--- /dev/null
+++ b/.config/mutt/muttrc
@@ -0,0 +1,17 @@
+# Read imap_pass
+source ~/.config/mutt/secret
+
+# IMAP
+set spoolfile = imaps://mail.mehdix.org/
+set imap_user = mehdi@mehdix.org
+
+# SMTP
+set record = +Sent
+set from = mehdi@mehdix.org
+set realname = "Mehdi Sadeghi"
+set smtp_pass = $imap_pass
+set smtp_url = smtp://$imap_user@mehdix.org:587/
+
+# Mailing Lists
+lists sr.ht-discuss
+set reply_to = "ask-yes"
diff --git a/.local/bin/xdg-open b/.local/bin/xdg-open
index a1d6842..e87c35e 100755
--- a/.local/bin/xdg-open
+++ b/.local/bin/xdg-open
@@ -10,4 +10,4 @@ case "${1%%:*}" in
*)
exec /usr/bin/xdg-open "$@"
;;
-esa
+esac
diff --git a/.zprofile b/.zprofile
index 8b2ae28..014cc80 100644
--- a/.zprofile
+++ b/.zprofile
@@ -1,8 +1,8 @@
# .zprofile is loaded on login shells, e.g. when doing ssh.
-# or running with --shell flag.
+# or when running with --shell flag.
## Read bash profile if present.
# emulate sh -c '. ~/.profile'
-# Clone oh-my-zsh of not present.
+# Clone oh-my-zsh if not present.
[[ ! -e .oh-my-zsh ]] && git clone https://github.com/ohmyzsh/ohmyzsh .oh-my-zsh