Skip to content

Commit a299583

Browse files
authored
Merge pull request #3499 from masatake/zsh
Zsh: new standalone parser understanding autoload built-in
2 parents 3c1cae0 + 51dd9f2 commit a299583

File tree

25 files changed

+451
-45
lines changed

25 files changed

+451
-45
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- mode: sh; eval: (sh-set-shell "zsh") -*-
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- mode: shell-script; sh-set-shell: zsh -*-
2+
# Emacs doesn't understand this notation but I found one in
3+
# https://github.com/neumachen/dotfiles/blob/3e2b04249f852dbdf7dee1e33e518de61031eb04/private_dot_config/exact_zsh/dot_zprofile
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- mode: sh; eval: (sh-set-shell "bash") -*-
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- mode: shell-script; sh-set-shell: bash -*-
2+
# Emacs doesn't understand this notation but I found one in
3+
# https://github.com/neumachen/dotfiles/blob/3e2b04249f852dbdf7dee1e33e518de61031eb04/private_dot_config/exact_zsh/dot_zprofile
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- mode: sh -*-
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- mode: shell-script -*-
2+
# Emacs doesn't understand this notation but I found one in
3+
# https://github.com/neumachen/dotfiles/blob/3e2b04249f852dbdf7dee1e33e518de61031eb04/private_dot_config/exact_zsh/dot_zprofile
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Local Variables:
2+
# mode: sh
3+
# eval: (sh-set-shell "zsh")
4+
# End:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Local Variables:
2+
# mode: sh
3+
# eval: (sh-set-shell "bash")
4+
# End:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Local Variables:
2+
# mode: sh
3+
# End:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright: 2022 Masatake YAMATO
2+
# License: GPL-2
3+
4+
CTAGS=$1
5+
6+
for f in input-firstline0.unknown \
7+
input-firstline1.unknown \
8+
input-firstline2.unknown \
9+
input-firstline3.unknown \
10+
input-firstline4.unknown \
11+
input-firstline5.unknown \
12+
input-lastlist0.unknown \
13+
input-lastlist1.unknown \
14+
input-lastlist2.unknown \
15+
; do
16+
$CTAGS --quiet --options=NONE -G --print-language $f
17+
done

0 commit comments

Comments
 (0)