mirror of
https://github.com/CoeJoder/lessfilter-pygmentize.git
synced 2025-11-08 05:03:48 -05:00
Update shell filenames
This commit is contained in:
45
main.py
45
main.py
@@ -23,11 +23,46 @@ INDENT = 4
|
||||
INDENT_DOUBLE = INDENT * 2
|
||||
MAX_COL_SIZE = 80
|
||||
|
||||
# any known shell filenames that don't have specific lexers will use the `sh` lexer
|
||||
misc_shell_filenames = [".bashrc", "bash.bashrc", ".bash_aliases", ".bash_environment", ".bash_profile", ".bash_login",
|
||||
".bash_logout", ".profile", ".zprofile", ".zshrc", ".zlogin", ".zlogout", "zprofile", "zshrc",
|
||||
"zlogin", "zlogout", ".cshrc", ".cshdirs", "csh.cshrc", "csh.login", "csh.logout", ".tcshrc",
|
||||
".kshrc", "ksh.kshrc"]
|
||||
# for each of the following, if a specific lexer is not found, `sh` is used
|
||||
misc_shell_filenames = [
|
||||
".profile",
|
||||
|
||||
# bash
|
||||
"bash.bashrc",
|
||||
".bashrc",
|
||||
".bash_aliases",
|
||||
".bash_completion",
|
||||
".bash_environment",
|
||||
".bash_history",
|
||||
".bash_login",
|
||||
".bash_logout",
|
||||
".bash_profile",
|
||||
|
||||
# zsh
|
||||
"zlogin",
|
||||
"zlogout",
|
||||
"zprofile",
|
||||
"zshrc",
|
||||
".zlogin",
|
||||
".zlogout",
|
||||
".zprofile",
|
||||
".zshrc",
|
||||
".zshenv",
|
||||
|
||||
# csh
|
||||
"csh.cshrc",
|
||||
"csh.login",
|
||||
"csh.logout",
|
||||
".cshdirs",
|
||||
".cshrc",
|
||||
|
||||
# tcsh
|
||||
".tcshrc",
|
||||
|
||||
# ksh
|
||||
"ksh.kshrc"
|
||||
".kshrc",
|
||||
]
|
||||
recognized_filenames = {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user