aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-11-10 00:41:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2022-11-13 12:57:41 +1300
commitede095ce97e7f7ba532edb5359b9d13a21e2bcc4 (patch)
treedaae6607ea996392ecd6fc5444741beb7862d50d
parentRemove executable bit from some shell scripts (diff)
downloaddotfiles-ede095ce97e7f7ba532edb5359b9d13a21e2bcc4.tar.gz
dotfiles-ede095ce97e7f7ba532edb5359b9d13a21e2bcc4.zip
Set shebang for muttrc.d/src at build time
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--[-rwxr-xr-x]mutt/muttrc.d/src.sh (renamed from mutt/muttrc.d/src)2
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 107c89da..f6e5bd55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -186,6 +186,7 @@
/include/mktd.m4
/less/less
/mutt/filters/markdown-to-html
+/mutt/muttrc.d/src
/tmux/bin/tmux
/urxvt/ext/select
/x/xsession
diff --git a/Makefile b/Makefile
index 7743d696..1e03d000 100644
--- a/Makefile
+++ b/Makefile
@@ -302,6 +302,7 @@ clean distclean:
include/mktd.m4 \
less/less \
mutt/filters/markdown-to-html \
+ mutt/muttrc.d/src \
tmux/bin/tmux \
urxvt/ext/select \
x/xsession
@@ -494,7 +495,7 @@ install-mpv:
$(XDG_DATA_HOME)/mpv/screenshots
cp -p -- mpv/mpv.conf $(XDG_CONFIG_HOME)/mpv
-install-mutt: install-gnupg install-mail mutt/filters/markdown-to-html
+install-mutt: install-gnupg install-mail mutt/filters/markdown-to-html mutt/muttrc.d/src
mkdir -p -- \
$(XDG_CONFIG_HOME)/mutt \
$(XDG_CONFIG_HOME)/mutt/muttrc.d \
diff --git a/mutt/muttrc.d/src b/mutt/muttrc.d/src.sh
index 47cb2df1..60e0c566 100755..100644
--- a/mutt/muttrc.d/src
+++ b/mutt/muttrc.d/src.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
# Build groups from address lists
for rc in "$HOME"/.config/mutt/muttrc.d/groups/*.list ; do
[ -e "$rc" ] || continue