1
0
Fork 0
This commit is contained in:
Harald Hoyer 2020-05-19 20:38:33 +02:00
parent d84a469e27
commit eed9b7e5b5

View file

@ -7,35 +7,6 @@ name: console
scope: source.shell.console
file_extensions:
- sh
- bash
- zsh
- ash
- .bash_aliases
- .bash_completions
- .bash_functions
- .bash_login
- .bash_logout
- .bash_profile
- .bash_variables
- .bashrc
- .profile
- .textmate_init
- .zlogin
- .zlogout
- .zprofile
- .zshenv
- .zshrc
- PKGBUILD # https://jlk.fjfi.cvut.cz/arch/manpages/man/PKGBUILD.5
- .ebuild
- .eclass
#first_line_match: |
# (?x)
# ^\#! .* \b(bash|zsh|sh|tcsh|ash)\b
# | ^\# \s* -\*- [^*]* mode: \s* shell-script [^*]* -\*-
#-------------------------------------------------------------------------------
variables:
call_token: \./
@ -119,6 +90,8 @@ contexts:
push: console-line
console-line:
- match: $
pop: true
- include: prototype
- include: funcdef
- include: vardef
@ -126,8 +99,6 @@ contexts:
- include: operator-exclamation
- match: '{{is_command}}'
push: cmd
- match: $
pop: true
# NOTE: Contexts with a "-bt" suffix are the "backtick" contexts. They mirror
# the ordinary contexts, except that when a backtick is encountered while in