From c10d0829e704b3796be23eed7fbbaf479a05e978 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 16 May 2020 04:16:25 +1200 Subject: Correct a comment --- vim/filetype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/filetype.vim b/vim/filetype.vim index 339824f0..da8b8e74 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -191,7 +191,7 @@ augroup filetypedetect \ ?*.msg \,mutt-*-[0-9]\+-[0-9]\+-[0-9]\+ \ setfiletype mail - " Mail messages + " Mail aliases autocmd BufNewFile,BufRead \ aliases \ setfiletype mailaliases -- cgit v1.2.3 From 9e33cbd7656a24fd99042127b1c2add880810bdb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 16 May 2020 04:16:43 +1200 Subject: Add a few more filetype detection hooks --- vim/filetype.vim | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/vim/filetype.vim b/vim/filetype.vim index da8b8e74..91327ba0 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -171,6 +171,11 @@ augroup filetypedetect \ ?*.l \,?*.lex \ setfiletype lex + " limits.conf(5) files + autocmd BufNewFile,BufRead + \ limits.conf + \,*/limits.d/*.conf + \ setfiletype limits " Lisp autocmd BufNewFile,BufRead \ ?*.lisp @@ -195,6 +200,11 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ aliases \ setfiletype mailaliases + " Mailcap (MIME app reference) files + autocmd BufNewFile,BufRead + \ mailcap + \,.mailcap + \ setfiletype mailcap " Makefiles autocmd BufNewFile,BufRead \ Makefile @@ -246,6 +256,10 @@ augroup filetypedetect \,/etc/shadow- \,/etc/shadow.edit \ setfiletype passwd + " Packet capture files + autocmd BufNewFile,BufRead + \ ?*.pcap + \ setfiletype pcap " Perl 5 files autocmd BufNewFile,BufRead \ ?*.pl @@ -272,6 +286,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ ?*.pod6 \ setfiletype pod6 + " protocols(5) files + autocmd BufNewFile,BufRead + \ protocols + \ setfiletype protocols " Python files autocmd BufNewFile,BufRead \ ?*.py @@ -299,6 +317,10 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ ?*.rb \ setfiletype ruby + " Samba config + autocmd BufNewFile,BufRead + \ smb.conf + \ setfiletype samba " sed files autocmd BufNewFile,BufRead \ ?*.sed @@ -367,6 +389,11 @@ augroup filetypedetect autocmd BufNewFile,BufRead \ svn-commit*.tmp \ setfiletype svn + " sysctl configuration files + autocmd BufNewFile,BufRead + \ /etc/sysctl.conf + \,/etc/sysctl.d/*.conf + \ setfiletype sysctl " Systemd unit files autocmd BufNewFile,BufRead \ */systemd/*.* -- cgit v1.2.3 From 7b15d90c5b7f3f3b2e571fb77457e011953e8889 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 16 May 2020 16:50:04 +1200 Subject: Remove vestigial reference to $MYVIM without cond --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 6cde7036..c90d66ba 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Fri, 15 May 2020 13:24:13 UTC +" Last updated: Sat, 16 May 2020 04:49:55 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -370,7 +370,7 @@ endif " " if exists('##SourceCmd') - autocmd vimrc SourceCmd $MYVIMRC,$MYVIM/vimrc + autocmd vimrc SourceCmd $MYVIMRC/vimrc \ ReloadVimrc if $MYVIM !=# '' autocmd vimrc SourceCmd $MYVIM/vimrc -- cgit v1.2.3 From 1286e68d6efbd5e54eb98f4931c5b2a8ae6e9084 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 May 2020 02:16:47 +1200 Subject: Remove inappropriate reverse() call --- vim/vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index c90d66ba..e96b333b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Sat, 16 May 2020 04:49:55 UTC +" Last updated: Sat, 16 May 2020 04:57:25 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -438,10 +438,10 @@ if xdg#DataHome() !=# '' || !empty(xdg#DataDirs()) \ 'option#item#Escape(v:val.''/dictionary.txt'')' \), ',')) execute 'set thesaurus^='.option#Escape(join(map( - \ reverse(extend( + \ extend( \ xdg#DataHome() !=# '' ? [xdg#DataHome()] : [], \ xdg#DataDirs() - \)), + \), \ 'option#item#Escape(v:val.''/thesaurus.txt'')' \), ',')) endif -- cgit v1.2.3 From 809a840f41b038b6e58b32f164ac7a71e9b976b9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 May 2020 02:16:55 +1200 Subject: Don't use protected PGP headers anymore Not really worth it --- mutt/muttrc | 1 - 1 file changed, 1 deletion(-) diff --git a/mutt/muttrc b/mutt/muttrc index 3af07a55..e2356dd0 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -102,7 +102,6 @@ set thorough_search = yes set time_inc = 250 # Encryption settings -set crypt_protected_headers_write = yes set crypt_replysign = yes set crypt_replyencrypt = yes set crypt_replysignencrypted = yes -- cgit v1.2.3 From 5a1190a38572d7149e696be3837decd5106e69c0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 May 2020 03:33:47 +1200 Subject: Use less misleading suffix for group lists --- mutt/muttrc.d/src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutt/muttrc.d/src b/mutt/muttrc.d/src index 8b2aad6b..f03ad462 100755 --- a/mutt/muttrc.d/src +++ b/mutt/muttrc.d/src @@ -1,11 +1,11 @@ #!/bin/sh # Build groups from address lists -for rc in "$HOME"/.config/mutt/muttrc.d/groups/*.rc ; do +for rc in "$HOME"/.config/mutt/muttrc.d/groups/*.list ; do [ -e "$rc" ] || continue group=$rc group=${group##*/} - group=${group%.rc} + group=${group%.list} while read -r member ; do printf 'group -group %s -addr %s\n' \ "$group" "$member" -- cgit v1.2.3 From 2b6761830469c98348d38dfc647f65feed6adc67 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 May 2020 15:45:25 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6fa19988..206452e1 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v8.38.0 -Fri, 15 May 2020 15:43:40 +0000 +tejr dotfiles v8.39.0 +Sun, 17 May 2020 03:45:25 +0000 -- cgit v1.2.3