From c4986ff8b2b21834ba89b969d662a9adddf06be0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 24 Jul 2020 23:53:48 +1200 Subject: Update/extend irssi aliases --- irssi/aliases | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3 From ec2ddd80ac83dc3ca1d3e5543283ba9ef06e5668 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 Jul 2020 11:15:54 +1200 Subject: Use "unset" rather than "set ... = no" in muttrc --- mutt/muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt/muttrc b/mutt/muttrc index 201a41f7..0cface82 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -125,7 +125,7 @@ set quote_regexp = '^(>[ \t]*)+' # Don't offer to resume a postponed message when I hit ; I'll use # for that. # -set recall = no +unset recall # Don't delay on switching or altering mailboxes so that I see the messages; # just do it straight away. -- cgit v1.2.3 From 85cf63d01e4e64cc39671e689ecd3f278cb20c33 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 Jul 2020 11:16:06 +1200 Subject: Turn on reverse_alias in muttrc --- mutt/muttrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mutt/muttrc b/mutt/muttrc index 0cface82..1dcd810b 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -127,6 +127,11 @@ set quote_regexp = '^(>[ \t]*)+' # 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. # -- cgit v1.2.3 From 644c4d2ca00345d5daafffd8e93e6877736c94e6 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 22 Aug 2020 20:44:41 +1200 Subject: Remove margins for HTML mail translation --- mutt/mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt/mailcap b/mutt/mailcap index ebf86c98..9fa3fff3 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 %s; \ copiousoutput; \ description=HTML; \ nametemplate=%s.html -- cgit v1.2.3 From a771efa8368956d6c32cdb161ca885338c5e063d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 22 Aug 2020 20:44:52 +1200 Subject: Allow wider wraps for HTML mail translation --- mutt/mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt/mailcap b/mutt/mailcap index 9fa3fff3..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 -nomargins -force_html %s; \ +text/html; lynx -dump -nomargins -force_html -width 1024 %s; \ copiousoutput; \ description=HTML; \ nametemplate=%s.html -- cgit v1.2.3 From 72dcb1c45f1652e94dc1e1c49a7ebdd6e1329780 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 24 Aug 2020 08:26:50 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 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 -- cgit v1.2.3