From 4ab095cb27e6266b7526e6958b2e8b8de8af588d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 24 Feb 2018 12:21:34 +1300 Subject: Silence errors from missing mesg(1) Funtoo Linux does not include this tool by default. It's not important enough to raise the error message on every login. --- sh/shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/shrc b/sh/shrc index 33c55e8f..63026e69 100644 --- a/sh/shrc +++ b/sh/shrc @@ -1,5 +1,5 @@ # Don't let anyone write(1) to my terminal -command -p mesg n +command -p mesg n 2>/dev/null # Turn off flow control and control character echo command -p stty -ixon -ctlecho 2>/dev/null -- cgit v1.2.3 From bd6cc28516d8f61d9edd09914ee849c3813234e8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 7 Mar 2018 17:22:35 +1300 Subject: Prompt for message deletion in Mutt I've fat-fingered just enough deletions that I don't want this setting anymore. --- mutt/muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt/muttrc b/mutt/muttrc index 953ab418..41e8a75c 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -35,7 +35,7 @@ bind editor complete-query bind editor ^T complete # Files -set delete = yes +set delete = ask-yes set move = no # Flags -- cgit v1.2.3 From c46f068c84863cb9c9ce13392a94765d8e8facd4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 16 Mar 2018 22:03:24 +1300 Subject: Further soften magic numbers Perl::Critic rule Include 1900 as an allowed integer, for performing logic with the "year" index of `localtime`/`gmtime`. The core module Time::Piece generally makes this unneeded; this change is for writing code that should work on very old releases of Perl (e.g. 5.6), where Time::Piece was not yet core. --- perlcritic/perlcriticrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc index bc8453f8..91bc1540 100644 --- a/perlcritic/perlcriticrc +++ b/perlcritic/perlcriticrc @@ -17,7 +17,8 @@ add_exceptions = inet4 inet6 ipv4 ipv6 # This one causes more trouble than it's worth, too [-Documentation::RequirePODUseEncodingUTF8] -# Soften this policy a bit; tolerate all the single-digit integers as literals, -# and also three powers of 10 (for percentages, milliseconds etc) +# Soften this rather harsh policy a fair bit; tolerate negative one, all the +# single-digit integers as literals, three powers of 10 (for percentages, +# milliseconds etc), and 1900 (for localtime) [ValuesAndExpressions::ProhibitMagicNumbers] -allowed_values = 0..9 10 100 1000 +allowed_values = -1 0..9 10 100 1000 1900 -- cgit v1.2.3 From 593d766926ae7088bbc93ebbf84bf4b9727384a7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 22 Mar 2018 09:24:26 +1300 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a44c33a9..7f581842 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v0.30.1 -Mon Feb 19 04:49:10 UTC 2018 +tejr dotfiles v0.31.0 +Wed Mar 21 20:23:37 UTC 2018 -- cgit v1.2.3 From 5682e8da8ab6cd9564a8f7cbed40a26f58395032 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 22 Mar 2018 09:24:52 +1300 Subject: Rebuild dotfiles(7) manual page from README This step was missed to accommodate the changes made to the file in commit 24f4623. --- man/man7/dotfiles.7df | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man7/dotfiles.7df b/man/man7/dotfiles.7df index 6cf3fdcb..046e35db 100644 --- a/man/man7/dotfiles.7df +++ b/man/man7/dotfiles.7df @@ -515,7 +515,7 @@ To install the configuration where Neovim will use it, do this: .nf \f[C] $\ nvd=${XDG_CONFIG_HOME:\-"$HOME"/.config}/nvim -$\ make\ install\-vim\ VIMRC=$nvd/init.vim\ VIMDIR=$nvd +$\ make\ install\-vim\ VIMRC="$nvd"/init.vim\ VIMDIR="$nvd" \f[] .fi .PP -- cgit v1.2.3