aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-08-24 08:26:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-08-24 08:26:54 +1200
commit5fc65e920e1ace64bd17226f1933eaeed807b53a (patch)
tree55d95318a79a478854157952d33837c0477fd84d
parentMerge branch 'release/v10.4.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-5fc65e920e1ace64bd17226f1933eaeed807b53a.tar.gz
dotfiles-5fc65e920e1ace64bd17226f1933eaeed807b53a.zip
Merge branch 'release/v10.5.0'v10.5.0
* release/v10.5.0: Allow wider wraps for HTML mail translation Remove margins for HTML mail translation Turn on reverse_alias in muttrc Use "unset" rather than "set ... = no" in muttrc Update/extend irssi aliases
-rw-r--r--VERSION4
-rw-r--r--irssi/aliases26
-rw-r--r--mutt/mailcap2
-rw-r--r--mutt/muttrc7
4 files changed, 32 insertions, 7 deletions
diff --git a/VERSION b/VERSION
index a46aae87..61cfd674 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v10.4.0
-Mon, 20 Jul 2020 00:46:20 +0000
+tejr dotfiles v10.5.0
+Sun, 23 Aug 2020 20:26:50 +0000
diff --git a/irssi/aliases b/irssi/aliases
index 65e80c13..ecedc21a 100644
--- a/irssi/aliases
+++ b/irssi/aliases
@@ -1,11 +1,13 @@
#
# I don't think irssi lets you specify include files for configuration, and
# you're not really supposed to edit it manually, but here are some commands to
-# create aliases to use the text files for tools in section 6.
+# create aliases.
#
-# I'd love to know if there's a better way to do these; maybe I should make a
-# proper plugin?
+# I'd love to know if there's a better way to do this. Maybe I should make
+# a proper irssi script?
#
+
+# Text filters via games/tools in section 6df
alias aesth exec - -out printf %s "$*" | aesth
alias drakon exec - -out printf %s "$*" | drakon
alias kvlt exec - -out printf %s "$*" | kvlt
@@ -13,3 +15,21 @@ alias rot13 exec - -out printf %s "$*" | rot13
alias squ exec - -out printf %s "$*" | squ
alias strik exec - -out printf %s "$*" | strik
alias zs exec - -out printf %s "$*" | zs
+
+# More generic aliases
+alias apt msg * Bro I just `apt install $x` and it works lol
+alias bully msg * $0: I feel offended by your recent action(s). Please read https://stop-irc-bullying.info/stop
+alias ch me chuckle
+alias hic msg * here it comes
+alias tig msg * there it goes
+alias hryk msg * ^ He's right you know
+alias lenny msg * ( ͡° ͜ʖ ͡°)
+alias lol msg * WHATA FUCK MAN xD i just fall of my chair cuz i couldnt and i CANT stop laugh xDXDXDXDXDDDDDDDDDDDDXXXXXXXXXXXXXXXXXXXDDDDDDDDDDDDDDDDDDD OMGOSH DDDDDXXXXXXXXXXXXXXXXXXXXXXXDDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDD LOOOOOOOOOLLLLL THIS IS A SHIT XDDDDDDDDDDDDDDDDDDDDXDDDDDDDDDDDDDDDDDDDDD A BIG ONE XDDDDDDDD A GRAT ONE XXXXXXDDDD CONGRATS MAN XD
+alias n names
+alias q query
+alias sb scrollback
+alias shrug msg * ¯\\_(ツ)_/¯
+alias tyvc msg * Thank you $0, very cool
+alias w window goto
+alias wl window last
+alias wls window list
diff --git a/mutt/mailcap b/mutt/mailcap
index ebf86c98..b8fd5b03 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,7 +1,7 @@
# Simple mailcap for a terminal-only Mutt; I generally download everything
# anyway and deal with it on a shell, or pass it to a GUI machine.
#
-text/html; lynx -dump -force_html %s; \
+text/html; lynx -dump -nomargins -force_html -width 1024 %s; \
copiousoutput; \
description=HTML; \
nametemplate=%s.html
diff --git a/mutt/muttrc b/mutt/muttrc
index 201a41f7..1dcd810b 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -125,7 +125,12 @@ set quote_regexp = '^(>[ \t]*)+'
# Don't offer to resume a postponed message when I hit <mail>; I'll use
# <recall-message> for that.
#
-set recall = no
+unset recall
+
+# If I have an alias configured for someone, use that in the index display, in
+# preference to whatever the From: line actually says.
+#
+set reverse_alias
# Don't delay on switching or altering mailboxes so that I see the messages;
# just do it straight away.