summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-20 18:22:07 -0500
committerJune McEnroe <june@causal.agency>2021-01-20 18:22:07 -0500
commit1fdfbf9e96f638e60bf4d34aa30327e35d001a0e (patch)
tree7215303623b734e6127a743da9b16bef6f7a096b /bin/man1
parentAdd messy sh lexer (diff)
downloadsrc-1fdfbf9e96f638e60bf4d34aa30327e35d001a0e.tar.gz
src-1fdfbf9e96f638e60bf4d34aa30327e35d001a0e.zip
Generate tags for sh files in mtags
Only matches functions declared at the beginnings of lines, but I'm
fine with that.
Diffstat (limited to '')
-rw-r--r--bin/man1/mtags.114
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/man1/mtags.1 b/bin/man1/mtags.1
index bb4b50b4..57856ba0 100644
--- a/bin/man1/mtags.1
+++ b/bin/man1/mtags.1
@@ -1,4 +1,4 @@
-.Dd January 19, 2021
+.Dd January 20, 2021
 .Dt MTAGS 1
 .Os
 .
@@ -21,9 +21,9 @@ makes a
 file for
 .Xr ex 1
 from the specified
-.Xr make 1
-and
+.Xr make 1 ,
 .Xr mdoc 7
+.Xr sh 1
 sources.
 .
 .Pp
@@ -55,6 +55,14 @@ Files whose names end in
 are assumed to be
 .Xr mdoc 7
 files.
+Files whose names are
+.Pa .profile ,
+.Pa .shrc
+or end in
+.Pa .sh
+are assumed to be
+.Xr sh 1
+files.
 .
 .Sh FILES
 .Bl -tag -width Ds