lynx/.mailcap | 12 ++++++------ mutt/.mime.types | 8 ++++---- zsh/.zshrc | 5 +++++ diff --git a/lynx/.mailcap b/lynx/.mailcap index 0b40851507ae80f0237c8efaba1ee5f20bfbad1e..820173d903d0c00316e245ec81e6eeab390253a7 100644 --- a/lynx/.mailcap +++ b/lynx/.mailcap @@ -1,6 +1,6 @@ -text/html; /usr/local/bin/lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html -application/pdf; /home/stargrave/bin/zat '%s'; test=test -n "$DISPLAY" -image/gif; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY" -image/jpeg; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY" -image/png; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY" -image/webp; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY" +application/pdf; zat '%s'; test=test -n "$DISPLAY" +image/gif; sxiv '%s'; test=test -n "$DISPLAY" +image/jpeg; sxiv '%s'; test=test -n "$DISPLAY" +image/png; sxiv '%s'; test=test -n "$DISPLAY" +image/webp; /sxiv '%s'; test=test -n "$DISPLAY" +text/html; lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html diff --git a/mutt/.mime.types b/mutt/.mime.types index 5a7d4537706cee60bcaa3b9475d2124111904d5d..1205d53bdb6de2f2c350c2ef2589a4ee5a869e61 100644 --- a/mutt/.mime.types +++ b/mutt/.mime.types @@ -1,6 +1,6 @@ -image/webp webp -image/png png +application/gzip gz application/pdf pdf -image/jpeg jpg image/jpeg jpeg -application/gzip gz +image/jpeg jpg +image/png png +image/webp webp diff --git a/zsh/.zshrc b/zsh/.zshrc index a42a351d2b21c8f1aa9a08c1c5045e2688ce2aa2..6e04b1aa3f243e802daed2b65909304c76e1a361 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -90,6 +90,11 @@ alias sshnm="ssh -S none" ssht() { ssh -C -t $1 tmux attach -t0 } + +autoload -U zsh-mime-setup +zsh-mime-setup +alias -s html=lynx +alias -s txt=less # }}} # Faster movement {{{