diff options
author | June McEnroe <june@causal.agency> | 2021-01-20 18:22:07 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-20 18:22:07 -0500 |
commit | 8f13185e5376c2b7414115bb67dca3a76dc7dec1 (patch) | |
tree | 699318e0732ad38d34de7cdcc8a13fc82a69b3a5 /bin/man1 | |
parent | Add messy sh lexer (diff) | |
download | src-8f13185e5376c2b7414115bb67dca3a76dc7dec1.tar.gz src-8f13185e5376c2b7414115bb67dca3a76dc7dec1.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.1 | 14 |
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 |