dotfiles

My personal dotfiles

commit 3cbaa00f1b51ccd1549c07e7c4619a9bf51f6e66
parent a362c59f92edac3edb68783bbd153e4aa34c359d
Author: Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date:   Sat,  2 Jan 2021 01:28:25 +1000

Updates

Diffstat:
M.config/fish/config.fish | 2++
M.config/mutt/muttrc | 4+---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
@@ -36,6 +36,7 @@ set PATH "/usr/local/sbin" \
 
 # Abbreviations
 abbr vim     "nvim"
+abbr sc      "sc-im"
 abbr weather "curl https://wttr.in/"
 
 # Aliases
@@ -46,6 +47,7 @@ alias gdb     'gdb -nh -x "$XDG_CONFIG_HOME/gdb/init"'
 alias weechat 'weechat -d "$XDG_CONFIG_HOME/weechat"'
 alias lynx    'lynx -cfg="$XDG_CONFIG_HOME/lynx/lynx.cfg"'
 alias config  'git --git-dir="$HOME/Documents/dotfiles" --work-tree="$HOME"'
+alias abook   'abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook'
 
 function fish_greeting
     set_color yellow
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -26,9 +26,7 @@ macro index,pager i3 '<sync-mailbox><enter-command>source /home/pablo/.config/mu
 
 # =========================== Reading/Indexing ================================
 
-# Read HTML email with Lynx
-auto_view text/html
-alternative_order text/plain text/enriched text/html
+set query_command = "abook --config \"$XDG_CONFIG_HOME\"/abook/abookrc --datafile \"$XDG_DATA_HOME\"/abook/addressbook --mutt-query '%s'"
 
 # Add new contacts to abook
 macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"