oh-my-devpod 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +29 -0
- package/bin/omd +40 -0
- package/lib/platform.js +80 -0
- package/lib/postinstall.js +40 -0
- package/lib/source.js +45 -0
- package/package.json +49 -0
- package/runtime/VERSION +1 -0
- package/runtime/bin/omd +0 -0
- package/runtime/build/install-antidote.sh +26 -0
- package/runtime/build/install-lazyvim.sh +65 -0
- package/runtime/components.toml +171 -0
- package/runtime/config/.p10k.zsh +193 -0
- package/runtime/config/.zsh_plugins.txt +17 -0
- package/runtime/config/.zshrc +53 -0
- package/runtime/install/bootstrap.sh +474 -0
- package/runtime/install/update.sh +264 -0
- package/runtime/modules/core/linuxbrew.sh +95 -0
- package/runtime/modules/core/micromamba.sh +26 -0
- package/runtime/modules/core/uv.sh +26 -0
- package/runtime/modules/core/zsh.sh +33 -0
- package/runtime/modules/lib/common.sh +372 -0
- package/runtime/modules/lib/postflight.sh +20 -0
- package/runtime/modules/tools/atuin.sh +26 -0
- package/runtime/modules/tools/bat.sh +26 -0
- package/runtime/modules/tools/btop.sh +26 -0
- package/runtime/modules/tools/fd.sh +26 -0
- package/runtime/modules/tools/fzf.sh +26 -0
- package/runtime/modules/tools/git.sh +26 -0
- package/runtime/modules/tools/jq.sh +26 -0
- package/runtime/modules/tools/lazyvim.sh +71 -0
- package/runtime/modules/tools/neovim.sh +26 -0
- package/runtime/modules/tools/ripgrep.sh +26 -0
- package/runtime/modules/tools/yazi.sh +26 -0
- package/runtime/modules/tools/zellij.sh +26 -0
- package/runtime/modules/tools/zsh-config.sh +155 -0
- package/runtime/vendor/nvim/lazyvim-starter/.neoconf.json +15 -0
- package/runtime/vendor/nvim/lazyvim-starter/.oh-my-devpod-source-commit +1 -0
- package/runtime/vendor/nvim/lazyvim-starter/LICENSE +201 -0
- package/runtime/vendor/nvim/lazyvim-starter/README.md +4 -0
- package/runtime/vendor/nvim/lazyvim-starter/init.lua +2 -0
- package/runtime/vendor/nvim/lazyvim-starter/lua/config/autocmds.lua +8 -0
- package/runtime/vendor/nvim/lazyvim-starter/lua/config/keymaps.lua +3 -0
- package/runtime/vendor/nvim/lazyvim-starter/lua/config/lazy.lua +53 -0
- package/runtime/vendor/nvim/lazyvim-starter/lua/config/options.lua +3 -0
- package/runtime/vendor/nvim/lazyvim-starter/lua/plugins/example.lua +197 -0
- package/runtime/vendor/nvim/lazyvim-starter/stylua.toml +3 -0
- package/runtime/vendor/releases/antidote/v2.0.10/SHA256SUMS +1 -0
- package/runtime/vendor/releases/antidote/v2.0.10/antidote-v2.0.10.tar.gz +0 -0
- package/runtime/vendor/zsh/ohmyzsh/.devcontainer/devcontainer.json +20 -0
- package/runtime/vendor/zsh/ohmyzsh/.editorconfig +15 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/CODEOWNERS +19 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/FUNDING.yml +6 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/INCIDENT_RESPONSE_PLAN.md +87 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/ISSUE_TEMPLATE/bug_report.yml +68 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/ISSUE_TEMPLATE/bug_report_omz.yml +77 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/ISSUE_TEMPLATE/feature_request.yml +37 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/PULL_REQUEST_TEMPLATE.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/dependabot.yml +14 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/dependencies.yml +56 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/dependencies/requirements.txt +7 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/dependencies/updater.py +619 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/dependencies.yml +43 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/installer/.vercelignore +2 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/installer/vercel.json +23 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/installer.yml +66 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/main.yml +43 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/project.yml +155 -0
- package/runtime/vendor/zsh/ohmyzsh/.github/workflows/scorecard.yml +65 -0
- package/runtime/vendor/zsh/ohmyzsh/.prettierrc +4 -0
- package/runtime/vendor/zsh/ohmyzsh/CODE_OF_CONDUCT.md +76 -0
- package/runtime/vendor/zsh/ohmyzsh/CONTRIBUTING.md +270 -0
- package/runtime/vendor/zsh/ohmyzsh/LICENSE.txt +21 -0
- package/runtime/vendor/zsh/ohmyzsh/README.md +564 -0
- package/runtime/vendor/zsh/ohmyzsh/SECURITY.md +23 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/async_prompt.zsh +145 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/bzr.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/cli.zsh +944 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/clipboard.zsh +107 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/compfix.zsh +44 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/completion.zsh +78 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/correction.zsh +10 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/diagnostics.zsh +353 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/directories.zsh +40 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/functions.zsh +284 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/git.zsh +367 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/grep.zsh +41 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/history.zsh +48 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/key-bindings.zsh +145 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/misc.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/nvm.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/prompt_info_functions.zsh +45 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/spectrum.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/termsupport.zsh +164 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/tests/cli.test.zsh +169 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/theme-and-appearance.zsh +81 -0
- package/runtime/vendor/zsh/ohmyzsh/lib/vcs_info.zsh +53 -0
- package/runtime/vendor/zsh/ohmyzsh/oh-my-zsh.sh +234 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/1password/1password.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/1password/README.md +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/1password/_opswd +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/1password/opswd +49 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/.zunit.yml +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/README.md +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/alias-finder.plugin.zsh +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/tests/_output/.gitkeep +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/tests/_support/.gitkeep +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/tests/_support/bootstrap +2 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/alias-finder/tests/test_run.sh +107 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aliases/README.md +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aliases/aliases.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aliases/cheatsheet.py +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aliases/termcolor.py +168 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ansible/README.md +31 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ansible/ansible.plugin.zsh +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ant/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ant/_ant +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ant/ant.plugin.zsh +2 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/apache2-macports/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/apache2-macports/apache2-macports.plugin.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/arcanist/README.md +43 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/arcanist/arcanist.plugin.zsh +39 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/archlinux/README.md +184 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/archlinux/archlinux.plugin.zsh +204 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/arduino-cli/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/arduino-cli/arduino-cli.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/argocd/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/argocd/argocd.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/asdf/README.md +48 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/asdf/asdf.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autoenv/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autoenv/autoenv.plugin.zsh +80 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autojump/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autojump/autojump.plugin.zsh +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autopep8/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/autopep8/_autopep8 +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aws/README.md +98 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/aws/aws.plugin.zsh +338 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/azure/README.md +49 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/azure/azure.plugin.zsh +60 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/battery/README.md +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/battery/battery.plugin.zsh +314 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bazel/README.md +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bazel/_bazel +341 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bazel/bazel.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bbedit/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bbedit/bbedit.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bedtools/README.md +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bedtools/_bedtools +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bgnotify/README.md +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bgnotify/bgnotify.plugin.zsh +144 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bower/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bower/_bower +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bower/bower.plugin.zsh +84 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/branch/README.md +49 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/branch/branch.plugin.zsh +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/brew/README.md +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/brew/brew.plugin.zsh +85 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bridgetown/README.md +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bridgetown/bridgetown.plugin.zsh +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/buf/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/buf/buf.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bun/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bun/bun.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bundler/README.md +74 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bundler/_bundler +105 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/bundler/bundler.plugin.zsh +95 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cabal/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cabal/cabal.plugin.zsh +93 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cake/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cake/cake.plugin.zsh +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cakephp3/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cakephp3/cakephp3.plugin.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/capistrano/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/capistrano/_capistrano +49 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/capistrano/capistrano.plugin.zsh +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cask/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cask/cask.plugin.zsh +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/catimg/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/catimg/catimg.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/catimg/catimg.sh +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/catimg/colors.png +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/celery/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/celery/_celery +129 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/charm/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/charm/charm.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chezmoi/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chezmoi/chezmoi.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chruby/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chruby/chruby.plugin.zsh +90 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chucknorris/README.md +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chucknorris/chucknorris.plugin.zsh +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/chucknorris/fortunes/chucknorris +568 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cloudfoundry/README.md +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cloudfoundry/cloudfoundry.plugin.zsh +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/codeclimate/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/codeclimate/_codeclimate +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/coffee/README.md +31 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/coffee/_coffee +81 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/coffee/coffee.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colemak/README.md +48 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colemak/colemak-less +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colemak/colemak.plugin.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colored-man-pages/README.md +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colored-man-pages/colored-man-pages.plugin.zsh +54 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colored-man-pages/nroff +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colorize/README.md +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/colorize/colorize.plugin.zsh +114 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/command-not-found/README.md +36 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/command-not-found/command-not-found.plugin.zsh +76 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/common-aliases/README.md +130 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/common-aliases/common-aliases.plugin.zsh +90 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/compleat/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/compleat/compleat.plugin.zsh +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/composer/README.md +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/composer/composer.plugin.zsh +76 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/conda/README.md +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/conda/conda.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/conda-env/README.md +44 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/conda-env/conda-env.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copybuffer/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copybuffer/copybuffer.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copyfile/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copyfile/copyfile.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copypath/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/copypath/copypath.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cp/README.md +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cp/cp.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cpanm/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/cpanm/_cpanm +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dash/README.md +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dash/dash.plugin.zsh +84 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dbt/README.md +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dbt/dbt.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/debian/README.md +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/debian/debian.plugin.zsh +227 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/deno/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/deno/deno.plugin.zsh +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dircycle/README.md +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dircycle/dircycle.plugin.zsh +87 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/direnv/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/direnv/direnv.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dirhistory/README.md +105 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dirhistory/dirhistory.plugin.zsh +236 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dirpersist/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dirpersist/dirpersist.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dnf/README.md +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dnf/_dnf5 +570 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dnf/dnf.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dnote/README.md +51 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dnote/_dnote +39 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker/README.md +89 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker/completions/_docker +3126 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker/docker.plugin.zsh +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker-compose/README.md +36 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker-compose/_docker-compose +421 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/docker-compose/docker-compose.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/doctl/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/doctl/doctl.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dotenv/README.md +100 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dotenv/dotenv.plugin.zsh +67 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dotnet/README.md +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/dotnet/dotnet.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/droplr/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/droplr/droplr.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/drush/README.md +66 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/drush/drush.complete.sh +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/drush/drush.plugin.zsh +107 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/eecms/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/eecms/eecms.plugin.zsh +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emacs/README.md +30 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emacs/emacs.plugin.zsh +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emacs/emacsclient.sh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ember-cli/README.md +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ember-cli/_ember-cli +189 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ember-cli/ember-cli.plugin.zsh +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/README.md +127 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/emoji-char-definitions.zsh +7274 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/emoji-data.txt +4122 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/emoji.plugin.zsh +110 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/gemoji_db.json +21538 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji/update_emoji.py +213 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji-clock/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emoji-clock/emoji-clock.plugin.zsh +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/README.md +39 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty.plugin.zsh +55 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_emoji_set.zsh +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_floral_set.zsh +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_love_set.zsh +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_nature_set.zsh +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_stellar_set.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/emotty/emotty_zodiac_set.zsh +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/encode64/README.md +73 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/encode64/encode64.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/extract/README.md +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/extract/_extract +57 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/extract/extract.plugin.zsh +145 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/eza/README.md +144 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/eza/eza.plugin.zsh +76 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fabric/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fabric/_fab +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fabric/fabric.plugin.zsh +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fancy-ctrl-z/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fasd/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fasd/fasd.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fastfile/README.md +85 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fastfile/fastfile.plugin.zsh +128 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fbterm/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fbterm/fbterm.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/firewalld/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/firewalld/firewalld.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/flutter/README.md +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/flutter/flutter.plugin.zsh +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fluxcd/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fluxcd/fluxcd.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fnm/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fnm/fnm.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/foot/README.md +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/foot/foot.plugin.zsh +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/forklift/README.md +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/forklift/forklift.plugin.zsh +128 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fossil/README.md +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fossil/_fossil +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fossil/fossil.plugin.zsh +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/frontend-search/README.md +85 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/frontend-search/_frontend +161 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/frontend-search/frontend-search.plugin.zsh +119 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fzf/README.md +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/fzf/fzf.plugin.zsh +274 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gas/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gas/_gas +39 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gatsby/README.md +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gatsby/_gatsby +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gcloud/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gcloud/gcloud.plugin.zsh +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/geeknote/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/geeknote/_geeknote +157 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/geeknote/geeknote.plugin.zsh +2 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gem/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gem/completions/_gem +72 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gem/gem.plugin.zsh +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/genpass/README.md +66 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/genpass/genpass-apple +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/genpass/genpass-monkey +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/genpass/genpass-xkcd +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/genpass/genpass.plugin.zsh +1 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gh/README.md +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gh/gh.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git/README.md +275 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git/git.plugin.zsh +431 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-auto-fetch/README.md +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh +65 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-commit/README.md +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-commit/git-commit.plugin.zsh +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-escape-magic/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-escape-magic/git-escape-magic +135 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-escape-magic/git-escape-magic.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-extras/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-extras/git-extras.plugin.zsh +418 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-flow/README.md +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-flow/_git-flow +327 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-flow/git-flow.plugin.zsh +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-flow-avh/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-flow-avh/git-flow-avh.plugin.zsh +526 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-hubflow/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-hubflow/git-hubflow.plugin.zsh +333 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-lfs/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-lfs/git-lfs.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-prompt/README.md +72 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-prompt/git-prompt.plugin.zsh +113 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/git-prompt/gitstatus.py +103 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/MANUAL.adoc +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/_git +274 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/git-completion.bash +3562 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/git-prompt.sh +594 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitfast/gitfast.plugin.zsh +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/github/README.md +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/github/_hub +174 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/github/github.plugin.zsh +77 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitignore/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gitignore/gitignore.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/glassfish/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/glassfish/_asadmin +1150 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/glassfish/glassfish.plugin.zsh +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/globalias/README.md +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/globalias/globalias.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gnu-utils/README.md +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gnu-utils/gnu-utils.plugin.zsh +74 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/golang/README.md +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/golang/_golang +249 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/golang/golang.plugin.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/golang/templates/package.txt +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/golang/templates/search.txt +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gpg-agent/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gpg-agent/gpg-agent.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gradle/LICENSE +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gradle/README.md +30 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gradle/_gradle +503 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gradle/gradle.plugin.zsh +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grails/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grails/grails.plugin.zsh +60 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grc/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grc/grc.plugin.zsh +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grunt/README.md +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/grunt/grunt.plugin.zsh +255 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gulp/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/gulp/gulp.plugin.zsh +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hanami/README.md +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hanami/hanami.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hasura/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hasura/hasura.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hcloud/README.md +143 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hcloud/hcloud.plugin.zsh +129 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/helm/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/helm/helm.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/heroku/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/heroku/heroku.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/heroku-alias/README.md +140 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/heroku-alias/heroku-alias.plugin.zsh +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history/history.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history-substring-search/README.md +251 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history-substring-search/dependencies/OMZ-README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history-substring-search/history-substring-search.plugin.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/history-substring-search/history-substring-search.zsh +846 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hitchhiker/README.md +44 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hitchhiker/fortunes/hitchhiker +275 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hitchhiker/hitchhiker.plugin.zsh +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hitokoto/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/hitokoto/hitokoto.plugin.zsh +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/homestead/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/homestead/homestead.plugin.zsh +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/httpie/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/httpie/_httpie +181 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/invoke/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/invoke/invoke.plugin.zsh +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ionic/README.md +30 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ionic/ionic.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ipfs/LICENSE +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ipfs/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ipfs/_ipfs +791 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/isodate/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/isodate/isodate.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/istioctl/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/istioctl/istioctl.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/iterm2/README.md +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/iterm2/iterm2.plugin.zsh +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/iterm2/iterm2_shell_integration.zsh +178 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/iterm2/update +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jake-node/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jake-node/jake-node.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jenv/README.md +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jenv/jenv.plugin.zsh +36 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jfrog/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jfrog/jfrog.plugin.zsh +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jhbuild/README.md +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jhbuild/jhbuild.plugin.zsh +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jira/README.md +103 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jira/_jira +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jira/jira.plugin.zsh +183 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jj/README.md +127 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jj/jj.plugin.zsh +71 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jruby/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jruby/jruby.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jsontools/README.md +90 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jsontools/jsontools.plugin.zsh +113 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/juju/README.md +132 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/juju/juju.plugin.zsh +202 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jump/README.md +31 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/jump/jump.plugin.zsh +60 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/k9s/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/k9s/k9s.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kamal/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kamal/_kamal +691 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kamal/kamal.plugin.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kate/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kate/kate.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/keychain/README.md +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/keychain/keychain.plugin.zsh +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kind/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kind/kind.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kitchen/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kitchen/_kitchen +85 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kitty/README.md +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kitty/kitty.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kn/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kn/kn.plugin.zsh +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/knife/README.md +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/knife/_knife +257 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/knife_ssh/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/knife_ssh/knife_ssh.plugin.zsh +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kompose/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kompose/kompose.plugin.zsh +3 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kops/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kops/kops.plugin.zsh +3 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kube-ps1/LICENSE +201 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kube-ps1/README.md +354 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kube-ps1/kube-ps1.plugin.zsh +440 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectl/README.md +145 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectl/kubectl.plugin.zsh +208 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectx/README.md +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectx/kubectx.plugin.zsh +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectx/prod.png +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/kubectx/stage.png +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lando/LICENSE +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lando/README.md +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lando/lando.plugin.zsh +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel/README.md +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel/_artisan +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel/laravel.plugin.zsh +48 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel4/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel4/laravel4.plugin.zsh +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel5/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/laravel5/laravel5.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/last-working-dir/README.md +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/last-working-dir/last-working-dir.plugin.zsh +31 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lein/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lein/_lein +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lighthouse/README.md +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lighthouse/lighthouse.plugin.zsh +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/localstack/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/localstack/localstack.plugin.zsh +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/localstack/sqs-send-result.png +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lol/README.md +71 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lol/lol.plugin.zsh +51 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lpass/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lpass/_lpass +169 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lxd/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/lxd/lxd.plugin.zsh +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macos/README.md +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macos/_security +90 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macos/macos.plugin.zsh +316 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macos/music +170 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macos/spotify +479 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macports/README.md +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macports/_port +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/macports/macports.plugin.zsh +44 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/magic-enter/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/magic-enter/magic-enter.plugin.zsh +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/man/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/man/man.plugin.zsh +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/marked2/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/marked2/marked2.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/marktext/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/marktext/marktext.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mercurial/README.md +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mercurial/mercurial.plugin.zsh +118 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/meteor/README.md +46 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/meteor/_meteor +67 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/meteor/meteor.plugin.zsh +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/microk8s/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/microk8s/microk8s.plugin.zsh +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/minikube/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/minikube/minikube.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mise/README.md +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mise/mise.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mix/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mix/_mix +170 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mix-fast/README.md +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mix-fast/mix-fast.plugin.zsh +30 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/molecule/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/molecule/molecule.plugin.zsh +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mongo-atlas/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mongo-atlas/mongo-atlas.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mongocli/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mongocli/mongocli.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mosh/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mosh/mosh.plugin.zsh +2 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/multipass/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/multipass/_multipass +73 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/multipass/multipass.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mvn/README.md +63 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mvn/mvn.plugin.zsh +352 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mysql-macports/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/mysql-macports/mysql-macports.plugin.zsh +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/n98-magerun/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/n98-magerun/n98-magerun.plugin.zsh +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nanoc/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nanoc/_nanoc +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nanoc/nanoc.plugin.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nats/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nats/nats.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nestjs/README.md +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nestjs/nestjs.plugin.zsh +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ng/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ng/_ng +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ngrok/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ngrok/ngrok.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nmap/README.md +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nmap/nmap.plugin.zsh +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/node/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/node/node.plugin.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nodenv/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nodenv/nodenv.plugin.zsh +43 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nomad/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nomad/_nomad +153 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/npm/README.md +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/npm/npm.plugin.zsh +117 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nvm/README.md +60 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/nvm/nvm.plugin.zsh +99 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/oc/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/oc/oc.plugin.zsh +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/octozen/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/octozen/octozen.plugin.zsh +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/opentofu/README.md +61 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/opentofu/opentofu.plugin.zsh +46 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/operator-sdk/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/operator-sdk/operator-sdk.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/otp/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/otp/otp.plugin.zsh +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pass/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pass/_pass +147 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/paver/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/paver/paver.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pep8/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pep8/_pep8 +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/per-directory-history/README.md +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/per-directory-history/per-directory-history.zsh +178 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/percol/README.md +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/percol/percol.plugin.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/perl/README.md +43 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/perl/perl.plugin.zsh +65 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/perms/README.md +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/perms/perms.plugin.zsh +87 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/phing/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/phing/phing.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pip/README.md +36 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pip/_pip +100 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pip/pip.plugin.zsh +135 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pipenv/README.md +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pipenv/pipenv.plugin.zsh +57 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pj/README.md +45 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pj/pj.plugin.zsh +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/please/README.md +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/please/please.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pm2/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pm2/_pm2 +374 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pm2/pm2.plugin.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pod/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pod/_pod +682 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/podman/README.md +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/podman/podman.plugin.zsh +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/poetry/README.md +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/poetry/poetry.plugin.zsh +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/poetry-env/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/poetry-env/poetry-env.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/postgres/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/postgres/postgres.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pow/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pow/pow.plugin.zsh +85 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/powder/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/powder/_powder +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/powify/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/powify/_powify +55 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pre-commit/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pre-commit/pre-commit.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/procs/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/procs/procs.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/profiles/README.md +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/profiles/profiles.plugin.zsh +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pulumi/README.md +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pulumi/pulumi.plugin.zsh +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pyenv/README.md +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pyenv/pyenv.plugin.zsh +108 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pylint/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pylint/_pylint +31 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/pylint/pylint.plugin.zsh +1 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/python/README.md +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/python/python.plugin.zsh +122 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/qodana/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/qodana/qodana.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/qrcode/README.md +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/qrcode/qrcode.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rails/README.md +122 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rails/_rails +538 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rails/rails.plugin.zsh +120 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rake/README.md +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rake/rake.plugin.zsh +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rake-fast/README.md +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rake-fast/rake-fast.plugin.zsh +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rand-quote/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rand-quote/rand-quote.plugin.zsh +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rbenv/README.md +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rbenv/rbenv.plugin.zsh +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rbw/README.md +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rbw/rbw.plugin.zsh +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rclone/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rclone/rclone.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/react-native/README.md +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/react-native/_react-native +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/react-native/react-native.plugin.zsh +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rebar/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rebar/_rebar +79 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/redis-cli/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/redis-cli/_redis-cli +142 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/repo/README.md +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/repo/_repo +281 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/repo/repo.plugin.zsh +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ros/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ros/_ros +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rsync/README.md +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rsync/rsync.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ruby/README.md +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ruby/ruby.plugin.zsh +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rust/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rust/_rustc +228 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rust/rust.plugin.zsh +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rvm/README.md +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/rvm/rvm.plugin.zsh +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/safe-paste/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/safe-paste/safe-paste.plugin.zsh +101 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/salt/README.md +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/salt/_salt +279 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/samtools/README.md +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/samtools/_samtools +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sbt/README.md +32 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sbt/_sbt +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sbt/sbt.plugin.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scala/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scala/_scala +249 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scd/README.md +159 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scd/_scd +60 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scd/scd +533 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scd/scd.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/screen/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/screen/screen.plugin.zsh +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scw/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/scw/scw.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sdk/README.md +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sdk/sdk.plugin.zsh +58 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sfdx/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sfdx/_sfdx +1110 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sfffe/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sfffe/sfffe.plugin.zsh +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/.editorconfig +3 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/README.md +67 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/proxy.py +91 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/shell-proxy.plugin.zsh +44 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/ssh-agent.py +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shell-proxy/ssh-proxy.py +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shrink-path/README.md +116 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/shrink-path/shrink-path.plugin.zsh +197 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sigstore/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sigstore/sigstore.plugin.zsh +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/singlechar/README.md +118 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/singlechar/singlechar.plugin.zsh +123 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/skaffold/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/skaffold/skaffold.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/snap/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/snap/snap.plugin.zsh +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/spackenv/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/spackenv/spackenv.plugin.zsh +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/spring/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/spring/_spring +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sprunge/README.md +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sprunge/sprunge.plugin.zsh +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ssh/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ssh/ssh.plugin.zsh +53 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ssh-agent/README.md +133 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ssh-agent/ssh-agent.plugin.zsh +119 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/stack/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/stack/stack.plugin.zsh +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/starship/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/starship/starship.plugin.zsh +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/stripe/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/stripe/stripe.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sublime/README.md +37 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sublime/sublime.plugin.zsh +124 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sublime-merge/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sublime-merge/sublime-merge.plugin.zsh +55 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sudo/README.md +75 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh +108 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/supervisor/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/supervisor/_supervisorctl +143 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/supervisor/_supervisord +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/supervisor/supervisor.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/suse/README.md +98 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/suse/suse.plugin.zsh +59 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svcat/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svcat/svcat.plugin.zsh +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svn/README.md +67 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svn/svn.plugin.zsh +89 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svn-fast-info/README.md +56 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/svn-fast-info/svn-fast-info.plugin.zsh +74 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/swiftpm/README.md +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/swiftpm/_swift +844 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/swiftpm/swiftpm.plugin.zsh +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony/symfony.plugin.zsh +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony2/README.md +28 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony2/symfony2.plugin.zsh +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony6/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/symfony6/symfony6.plugin.zsh +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/systemadmin/README.md +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/systemadmin/systemadmin.plugin.zsh +188 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/systemd/README.md +98 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/systemd/systemd.plugin.zsh +121 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tailscale/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tailscale/tailscale.plugin.zsh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/task/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/task/task.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/taskwarrior/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/taskwarrior/_task +285 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/taskwarrior/taskwarrior.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/term_tab/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/term_tab/term_tab.plugin.zsh +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/terminitor/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/terminitor/_terminitor +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/terraform/README.md +61 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/terraform/_terraform +545 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/terraform/terraform.plugin.zsh +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/textastic/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/textastic/textastic.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/textmate/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/textmate/textmate.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/thefuck/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/thefuck/thefuck.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/themes/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/themes/themes.plugin.zsh +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/thor/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/thor/_thor +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tig/README.md +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tig/tig.plugin.zsh +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/timer/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/timer/timer.plugin.zsh +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/timoni/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/timoni/timoni.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tldr/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tldr/tldr.plugin.zsh +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux/README.md +48 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux/tmux.extra.conf +2 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux/tmux.only.conf +1 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux/tmux.plugin.zsh +204 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux-cssh/README.md +10 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmux-cssh/_tmux-cssh +25 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmuxinator/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmuxinator/_tmuxinator +23 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tmuxinator/tmuxinator.plugin.zsh +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/toolbox/README.md +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/toolbox/toolbox.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/torrent/README.md +13 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/torrent/torrent.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/transfer/README.md +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/transfer/transfer.plugin.zsh +97 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tt/README.MD +26 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tt/tt.plugin.zsh +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tugboat/README.md +12 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/tugboat/_tugboat +106 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ubuntu/README.md +62 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ubuntu/ubuntu.plugin.zsh +138 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ufw/README.md +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/ufw/_ufw +115 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/universalarchive/README.md +76 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/universalarchive/_universalarchive +6 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/universalarchive/universalarchive.plugin.zsh +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/urltools/README.md +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/urltools/urltools.plugin.zsh +42 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/uv/README.md +36 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/uv/uv.plugin.zsh +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vagrant/README.md +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vagrant/_vagrant +133 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vagrant/vagrant.plugin.zsh +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vagrant-prompt/README.md +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vagrant-prompt/vagrant-prompt.plugin.zsh +18 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vault/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vault/vault.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vi-mode/README.md +197 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vi-mode/vi-mode.plugin.zsh +174 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vim-interaction/README.md +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vim-interaction/vim-interaction.plugin.zsh +69 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/virtualenv/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/virtualenv/virtualenv.plugin.zsh +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/virtualenvwrapper/README.md +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh +93 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/volta/README.md +11 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/volta/volta.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vscode/README.md +88 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vscode/vscode.plugin.zsh +52 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vundle/README.md +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/vundle/vundle.plugin.zsh +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wakeonlan/README.md +43 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wakeonlan/_wake +4 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wakeonlan/wakeonlan.plugin.zsh +14 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/watson/README.md +9 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/watson/_watson +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wd/LICENSE +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wd/README.md +297 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wd/_wd.sh +106 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wd/wd.plugin.zsh +20 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wd/wd.sh +658 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/web-search/README.md +92 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/web-search/web-search.plugin.zsh +119 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wp-cli/README.md +109 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/wp-cli/wp-cli.plugin.zsh +123 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/xcode/README.md +86 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/xcode/_xcselv +19 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/xcode/xcode.plugin.zsh +208 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yarn/README.md +74 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yarn/_yarn +502 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yarn/yarn.plugin.zsh +64 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yii/README.md +15 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yii/yii.plugin.zsh +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yii2/README.md +7 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yii2/yii2.plugin.zsh +29 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yum/README.md +27 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/yum/yum.plugin.zsh +16 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/LICENSE +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/MANUAL.md +365 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/README.md +24 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/_z +82 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/img/demo.gif +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/img/mit_license.svg +1 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/img/zsh_4.3.11_plus.svg +1 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/z/z.plugin.zsh +1022 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zbell/README.md +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zbell/zbell.plugin.zsh +96 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zeus/README.md +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zeus/_zeus +98 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zeus/zeus.plugin.zsh +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zoxide/README.md +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zoxide/zoxide.plugin.zsh +5 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-interactive-cd/LICENSE +375 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-interactive-cd/README.md +21 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-interactive-cd/demo.gif +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-interactive-cd/zsh-interactive-cd.plugin.zsh +180 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf +33 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-cd.conf +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf +38 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-functions.conf +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-history.conf +43 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-kill.conf +46 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-list.conf +55 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-options.conf +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/.config/znt/n-panelize.conf +34 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/LICENSE +700 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/Makefile +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/NEWS +17 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/README.md +259 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/_n-kill +41 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/doc/generate_single_file +35 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/doc/img/n-history2.png +0 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/doc/install.sh +70 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/doc/n-preview +224 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/doc/znt-tmux.zsh +50 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-aliases +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-cd +71 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-env +47 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-functions +54 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-help +135 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-history +371 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-kill +96 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-list +517 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-list-draw +133 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-list-input +377 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-options +84 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/n-panelize +68 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/znt-cd-widget +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/znt-history-widget +22 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/znt-kill-widget +8 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/znt-usetty-wrapper +40 -0
- package/runtime/vendor/zsh/ohmyzsh/plugins/zsh-navigation-tools/zsh-navigation-tools.plugin.zsh +77 -0
- package/runtime/vendor/zsh/ohmyzsh/templates/minimal.zshrc +5 -0
- package/runtime/vendor/zsh/ohmyzsh/templates/zshrc.zsh-template +104 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/3den.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/Soliah.zsh-theme +85 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/adben.zsh-theme +118 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/af-magic.zsh-theme +49 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/afowler.zsh-theme +10 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/agnoster.zsh-theme +377 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/alanpeabody.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/amuse.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/apple.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/arrow.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/aussiegeek.zsh-theme +8 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/avit.zsh-theme +90 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/awesomepanda.zsh-theme +16 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/bira.zsh-theme +38 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/blinks.zsh-theme +30 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/bureau.zsh-theme +133 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/candy-kingdom.zsh-theme +34 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/candy.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/clean.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/cloud.zsh-theme +10 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/crcandy.zsh-theme +8 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/crunch.zsh-theme +39 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/cypher.zsh-theme +4 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dallas.zsh-theme +27 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/darkblood.zsh-theme +9 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/daveverwer.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dieter.zsh-theme +56 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dogenpunk.zsh-theme +77 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dpoggi.zsh-theme +11 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dst.zsh-theme +16 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/dstufft.zsh-theme +19 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/duellj.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/eastwood.zsh-theme +23 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/edvardm.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/emotty.zsh-theme +113 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/essembeh.zsh-theme +36 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/evan.zsh-theme +2 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fino-time.zsh-theme +38 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fino.zsh-theme +47 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fishy.zsh-theme +36 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/flazz.zsh-theme +19 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fletcherm.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fox.zsh-theme +9 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/frisk.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/frontcube.zsh-theme +13 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/funky.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/fwalch.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gallifrey.zsh-theme +11 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gallois.zsh-theme +140 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/garyblessington.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gentoo.zsh-theme +30 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/geoffgarside.zsh-theme +5 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gianu.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gnzh.zsh-theme +46 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/gozilla.zsh-theme +15 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/half-life.zsh-theme +97 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/humza.zsh-theme +26 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/imajes.zsh-theme +5 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/intheloop.zsh-theme +23 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/itchy.zsh-theme +18 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jaischeema.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jbergantine.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jispwoso.zsh-theme +10 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jnrowe.zsh-theme +37 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jonathan.zsh-theme +126 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/josh.zsh-theme +43 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jreese.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/jtriley.zsh-theme +2 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/juanghurtado.zsh-theme +44 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/junkfood.zsh-theme +30 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kafeitu.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kardan.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kennethreitz.zsh-theme +15 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kiwi.zsh-theme +10 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kolo.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/kphoen.zsh-theme +43 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/lambda.zsh-theme +4 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/linuxonly.zsh-theme +58 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/lukerandall.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/macovsky.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/maran.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mgutz.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mh.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/michelebologna.zsh-theme +78 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mikeh.zsh-theme +21 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/miloshadzic.zsh-theme +8 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/minimal.zsh-theme +26 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mira.zsh-theme +23 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mlh.zsh-theme +105 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mortalscumbag.zsh-theme +71 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/mrtazz.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/murilasso.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/muse.zsh-theme +16 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/nanotech.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/nebirhos.zsh-theme +21 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/nicoulaj.zsh-theme +43 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/norm.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/obraun.zsh-theme +10 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/oldgallois.zsh-theme +24 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/peepcode.zsh-theme +47 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/philips.zsh-theme +14 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/pmcgee.zsh-theme +16 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/pygmalion-virtualenv.zsh-theme +54 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/pygmalion.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/random.zsh-theme +47 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/re5et.zsh-theme +15 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/refined.zsh-theme +108 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/rgm.zsh-theme +8 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/risto.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/rixius.zsh-theme +21 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/rkj-repos.zsh-theme +35 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/rkj.zsh-theme +9 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/robbyrussell.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sammy.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/simonoff.zsh-theme +99 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/simple.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/skaro.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/smt.zsh-theme +83 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sonicradish.zsh-theme +37 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sorin.zsh-theme +42 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sporty_256.zsh-theme +13 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/steeef.zsh-theme +103 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/strug.zsh-theme +25 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sunaku.zsh-theme +25 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/sunrise.zsh-theme +93 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/superjarin.zsh-theme +18 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/suvash.zsh-theme +21 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/takashiyoshida.zsh-theme +27 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/terminalparty.zsh-theme +8 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/theunraveler.zsh-theme +16 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/tjkirch.zsh-theme +15 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/tjkirch_mod.zsh-theme +13 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/tonotdo.zsh-theme +12 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/trapd00r.zsh-theme +132 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/wedisagree.zsh-theme +109 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/wezm+.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/wezm.zsh-theme +7 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/wuffers.zsh-theme +5 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/xiong-chiamiov-plus.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/xiong-chiamiov.zsh-theme +6 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/ys.zsh-theme +80 -0
- package/runtime/vendor/zsh/ohmyzsh/themes/zhann.zsh-theme +25 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/changelog.sh +592 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/check_for_upgrade.sh +302 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/install.sh +579 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/require_tool.sh +161 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/theme_chooser.sh +98 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/uninstall.sh +41 -0
- package/runtime/vendor/zsh/ohmyzsh/tools/upgrade.sh +295 -0
- package/runtime/vendor/zsh/powerlevel10k/.gitattributes +5 -0
- package/runtime/vendor/zsh/powerlevel10k/LICENSE +22 -0
- package/runtime/vendor/zsh/powerlevel10k/Makefile +14 -0
- package/runtime/vendor/zsh/powerlevel10k/README.md +2120 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-classic.zsh +1738 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-lean-8colors.zsh +1713 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-lean.zsh +1713 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-pure.zsh +193 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-rainbow.zsh +1833 -0
- package/runtime/vendor/zsh/powerlevel10k/config/p10k-robbyrussell.zsh +111 -0
- package/runtime/vendor/zsh/powerlevel10k/font.md +185 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/.clang-format +4 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/.gitattributes +16 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/.vscode/c_cpp_properties.json +17 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/.vscode/settings.json +72 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/LICENSE +674 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/Makefile +57 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/README.md +534 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/build +668 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/build.info +22 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/deps/.gitkeep +0 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/docs/listdir.md +330 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/gitstatus.plugin.sh +474 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/gitstatus.plugin.zsh +908 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/gitstatus.prompt.sh +111 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/gitstatus.prompt.zsh +111 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/install +476 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/install.info +34 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/mbuild +406 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/algorithm.h +37 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/arena.cc +118 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/arena.h +273 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/bits.h +29 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/check.h +61 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/check_dir_mtime.cc +157 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/check_dir_mtime.h +31 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/dir.cc +237 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/dir.h +50 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/git.cc +250 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/git.h +115 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/gitstatus.cc +219 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/index.cc +456 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/index.h +84 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/logging.cc +139 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/logging.h +124 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/options.cc +362 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/options.h +78 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/print.h +101 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/repo.cc +503 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/repo.h +126 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/repo_cache.cc +167 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/repo_cache.h +60 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/request.cc +130 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/request.h +50 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/response.cc +73 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/response.h +50 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/scope_guard.h +56 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/serialization.h +28 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/stat.h +23 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/string_cmp.h +151 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/string_view.h +77 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/strings.cc +71 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/strings.h +37 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/tag_db.cc +332 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/tag_db.h +79 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/thread_pool.cc +87 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/thread_pool.h +74 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/time.h +14 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/timer.cc +72 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/timer.h +36 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/src/tribool.h +27 -0
- package/runtime/vendor/zsh/powerlevel10k/gitstatus/usrbin/.gitkeep +0 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/configure.zsh +84 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/icons.zsh +1174 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/notes.md +197 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/p10k.zsh +9524 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/parser.zsh +382 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/wizard.zsh +2257 -0
- package/runtime/vendor/zsh/powerlevel10k/internal/worker.zsh +219 -0
- package/runtime/vendor/zsh/powerlevel10k/powerlevel10k.png +0 -0
- package/runtime/vendor/zsh/powerlevel10k/powerlevel10k.zsh-theme +83 -0
- package/runtime/vendor/zsh/powerlevel10k/powerlevel9k.zsh-theme +1 -0
- package/runtime/vendor/zsh/powerlevel10k/prompt_powerlevel10k_setup +1 -0
- package/runtime/vendor/zsh/powerlevel10k/prompt_powerlevel9k_setup +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.editorconfig +18 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.github/ISSUE_TEMPLATE/bug-report.md +36 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.github/workflows/integration.yml +51 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.rspec +3 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.rubocop.yml +30 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/.ruby-version +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/CHANGELOG.md +124 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/DESCRIPTION +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/Dockerfile +21 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/Gemfile +5 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/Gemfile.lock +41 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/INSTALL.md +82 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/LICENSE +23 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/Makefile +35 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/README.md +188 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/URL +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/VERSION +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/ZSH_VERSIONS +14 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/install_test_zsh.sh +23 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/async_spec.rb +70 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/auto_cd_spec.rb +14 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/bracketed_paste_magic_spec.rb +43 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/client_zpty_spec.rb +14 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/glob_subst_spec.rb +12 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/rebound_bracket_spec.rb +13 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/vi_mode_spec.rb +80 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/wrapped_widget_spec.rb +39 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/integrations/zle_input_stack_spec.rb +24 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/kill_ring_spec.rb +23 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/line_init_spec.rb +17 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/multi_line_spec.rb +8 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/options/buffer_max_size_spec.rb +30 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/options/highlight_style_spec.rb +7 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/options/original_widget_prefix_spec.rb +7 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/options/strategy_spec.rb +55 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/options/widget_lists_spec.rb +121 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/spec_helper.rb +54 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/strategies/completion_spec.rb +72 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/strategies/history_spec.rb +23 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/strategies/match_prev_cmd_spec.rb +34 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/strategies/special_characters_helper.rb +75 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/terminal_session.rb +99 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/widgets/disable_spec.rb +19 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/widgets/enable_spec.rb +42 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/widgets/fetch_spec.rb +24 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/spec/widgets/toggle_spec.rb +26 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/async.zsh +77 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/bind.zsh +106 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/config.zsh +95 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/fetch.zsh +27 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/highlight.zsh +26 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/start.zsh +33 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/strategies/completion.zsh +137 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/strategies/history.zsh +32 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/strategies/match_prev_cmd.zsh +66 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/util.zsh +11 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/src/widgets.zsh +231 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh +1 -0
- package/runtime/vendor/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh +867 -0
- package/runtime/vendor/zsh/zsh-history-substring-search/README.md +236 -0
- package/runtime/vendor/zsh/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh +2 -0
- package/runtime/vendor/zsh/zsh-history-substring-search/zsh-history-substring-search.zsh +846 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/.editorconfig +15 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/.gitattributes +1 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/.github/workflows/test.yml +75 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/.revision-hash +1 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/.version +1 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/COPYING.md +23 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/HACKING.md +99 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/INSTALL.md +169 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/Makefile +64 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/README.md +97 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/changelog.md +920 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/brackets.md +31 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/cursor.md +24 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/line.md +24 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/main.md +121 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/pattern.md +24 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/regexp.md +65 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters/root.md +25 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/docs/highlighters.md +132 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/README.md +8 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/brackets-highlighter.zsh +107 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/cursor-matchingbracket-line-finish.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/cursor-matchingbracket.zsh +47 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/empty-styles.zsh +33 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/loop-styles.zsh +53 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/mismatch-patentheses.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/near-quotes.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/nested-parentheses.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/only-error.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/quoted-patentheses.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/simple-parentheses.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/unclosed-patentheses.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/brackets/test-data/unclosed-patentheses2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/cursor/cursor-highlighter.zsh +47 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/line/line-highlighter.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/main-highlighter.zsh +1847 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position1.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position1b.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position2.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position3.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position3b.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position4.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/abspath-in-command-position5.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-assignment1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-basic.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-brackets.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-command-substitution.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-comment1.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-comment2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-complex.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-empty.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-eponymous1.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-eponymous2.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-in-cmdsubst.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-loop.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-loop2.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-nested-precommand.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-nested.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-parameter.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-precommand-option-argument1.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-precommand-option-argument2.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-precommand-option-argument3.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-precommand-option-argument4.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-quoted.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-redirect.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-reuse1.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-reuse2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-reuse3.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-reuse4.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-reuse5.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-self.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-self2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-to-dir.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-to-dir1b.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-unknown-token1.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias-unknown-token2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/alias.zsh +53 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/always1.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/always2.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/always3.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/anonymous-function.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arg0-colon.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arith-cmdsubst-mess.zsh +46 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arith1.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arith2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-command-substitution.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-doubled-parens.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-empty.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-evaluation.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-hist-expn.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-invalid-chars.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-multiplication.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-nested.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-quoted.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-unclosed.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/arithmetic-unfinished.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/array-cmdsep1.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/array-cmdsep2.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/array-cmdsep3.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-append.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-argv.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-array.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-array2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-array3.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-invalid-command.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-not-array.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-not-array2.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-quoted-cmdsubst.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-semicolon.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-subshell.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-value-quote1.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign-value-quote2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assign.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-before-resword1.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-before-resword2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-before-resword3.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-before-resword4.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-before-resword5.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/assignment-quoted.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/back-quoted-argument.zsh +58 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/back-quoted-open.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/backslash-continuation.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/backslash-continuation2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/backslash-space.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/backslash.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/bang-assign-array.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/bang-assign-scalar.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/bang-pipeline.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/block-assignment-no-command.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/braces1.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/braces2.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-matching1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-matching2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch1.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch10-if-negative.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch3.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch4.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch5.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch6.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch7.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch8-if-positive.zsh +53 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch8.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-mismatch9-if-positive.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/brackets-premature-termination.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/cdpath-abspath.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/cmdpos-elision-partial.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/command-substitution-adjacent.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/command-substitution-in-assignment.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/command-substitution-unclosed.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/commandseparator.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/comment-followed.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/comment-leading.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/comment-off.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/comments.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/commmand-parameter.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/control-flow.zsh +57 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/control-flow2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/control-flow3.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/cthulhu.zsh +70 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dinbrack1.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dirs_blacklist.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-dollar.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-noise.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-paren.zsh +49 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-quoted.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-quoted2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/dollar-quoted3.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/double-hyphen-option.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/double-quoted.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/double-quoted2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/double-quoted3.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/double-quoted4.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/empty-command-newline.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/empty-command.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/empty-command2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/empty-line.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/equals1.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/equals2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/equals3.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/equals4.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/escaped-single-quote.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/exec-redirection1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/fd-target-not-filename.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/function-altsyntax.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/function-named1.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/function-named2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/function.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/glob.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/global-alias1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/globs-with-quoting.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/hashed-command.zsh +35 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-double-quoted-escaped.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-double-quoted-followed.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-double-quoted-no.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-double-quoted-unescaped.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-double-quoted-yes.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-expansion.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/history-expansion2.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/inheritance.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/jobsubst-isnt-glob.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/jobsubst-isnt-glob2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/loop-newline.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/meta-no-eval1.zsh +49 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/meta-no-eval2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multiline-array-assignment1.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multiline-string.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multiline-string2.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multios-negates-globbing.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multios-negates-globbing2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multiple-quotes.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/multiple-redirections.zsh +46 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob-alias.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob-always.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob3.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/noglob4.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/null-exec.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/null-exec2-printenv.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/number_range-glob.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/off-by-one.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/opt-shwordsplit1.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/optimized-cmdsubst-input.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/option-dollar-quote-isnt-filename.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/option-path_dirs.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/option-with-quotes.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/order-path-after-dollar.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/order-path-before-globbing.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/param-positional-in-array-append.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/param-precommand-option-argument1.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/param-precommand-option-argument3.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-elision-command-word.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-expansion-shwordsplit.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-expansion-untokenized1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-expansion-untokenized2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-star.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-to-global-alias.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-value-contains-command-position1.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/parameter-value-contains-command-position2.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/pasted-quotes.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-broken-symlink.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-dollared-word.zsh +45 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-dollared-word2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-dollared-word3.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-dollared-word3b.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-dollared-word4.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-mixed-quoting.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-separators.zsh +53 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-separators2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-space.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-tilde-home.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-tilde-home2.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-tilde-home3.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-tilde-named.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path_prefix.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path_prefix2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/path_prefix3.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/plain-file-in-command-position.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-killing1.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-killing2.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-then-assignment.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-type1.zsh +61 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-type2.zsh +55 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-type3.zsh +55 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-uninstalled.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand-unknown-option.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand2.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand3.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/precommand4.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/prefix-redirection.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/process-substitution-after-redirection.zsh +46 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/process-substitution-redirection-isnt-globbing.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/process-substitution.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/process-substitution2.zsh +51 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/quoted-command-substitution-empty.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/quoted-redirection-in-command-word.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/rc-quotes.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-all.zsh +95 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-comment.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-from-param.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-in-cmdsubst.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-inhibits-elision.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-is-not-option.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection-special-cases.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection2.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/redirection3.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/reserved-word.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/simple-command.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/simple-redirection.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/subshell.zsh +51 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-command.zsh +54 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-comment.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-longopt.zsh +38 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-redirection.zsh +48 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-redirection2.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/sudo-redirection3.zsh +41 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/tilde-command-word.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/time-and-nocorrect1.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/time-and-nocorrect2.zsh +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/unbackslash.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/unknown-command.zsh +34 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/vanilla-newline.zsh +39 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/main/test-data/vi-linewise-mode.zsh +43 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/pattern/pattern-highlighter.zsh +60 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/pattern/test-data/rm-rf.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/regexp/regexp-highlighter.zsh +62 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/regexp/test-data/complex.zsh +37 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/regexp/test-data/subexpression.zsh +36 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/regexp/test-data/word-boundary.zsh +42 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/highlighters/root/root-highlighter.zsh +44 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after1-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after1.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after2-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after2.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after3-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after3.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/after4-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before1-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before1.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before2-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before2.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before3-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before3.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/before4-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/preview-smaller.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/images/preview.png +0 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/release.md +21 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/README.md +124 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/edit-failed-tests +40 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/generate.zsh +117 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/tap-colorizer.zsh +71 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/tap-filter +47 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/test-highlighting.zsh +291 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/test-perfs.zsh +103 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/tests/test-zprof.zsh +78 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh +2 -0
- package/runtime/vendor/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +587 -0
- package/runtime/versions.env +19 -0
|
@@ -0,0 +1,1847 @@
|
|
|
1
|
+
# -------------------------------------------------------------------------------------------------
|
|
2
|
+
# Copyright (c) 2010-2020 zsh-syntax-highlighting contributors
|
|
3
|
+
# All rights reserved.
|
|
4
|
+
#
|
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification, are permitted
|
|
6
|
+
# provided that the following conditions are met:
|
|
7
|
+
#
|
|
8
|
+
# * Redistributions of source code must retain the above copyright notice, this list of conditions
|
|
9
|
+
# and the following disclaimer.
|
|
10
|
+
# * Redistributions in binary form must reproduce the above copyright notice, this list of
|
|
11
|
+
# conditions and the following disclaimer in the documentation and/or other materials provided
|
|
12
|
+
# with the distribution.
|
|
13
|
+
# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors
|
|
14
|
+
# may be used to endorse or promote products derived from this software without specific prior
|
|
15
|
+
# written permission.
|
|
16
|
+
#
|
|
17
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
|
18
|
+
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
20
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
21
|
+
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
22
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
23
|
+
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
|
24
|
+
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
25
|
+
# -------------------------------------------------------------------------------------------------
|
|
26
|
+
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
|
|
27
|
+
# vim: ft=zsh sw=2 ts=2 et
|
|
28
|
+
# -------------------------------------------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# Define default styles.
|
|
32
|
+
: ${ZSH_HIGHLIGHT_STYLES[default]:=none}
|
|
33
|
+
: ${ZSH_HIGHLIGHT_STYLES[unknown-token]:=fg=red,bold}
|
|
34
|
+
: ${ZSH_HIGHLIGHT_STYLES[reserved-word]:=fg=yellow}
|
|
35
|
+
: ${ZSH_HIGHLIGHT_STYLES[suffix-alias]:=fg=green,underline}
|
|
36
|
+
: ${ZSH_HIGHLIGHT_STYLES[global-alias]:=fg=cyan}
|
|
37
|
+
: ${ZSH_HIGHLIGHT_STYLES[precommand]:=fg=green,underline}
|
|
38
|
+
: ${ZSH_HIGHLIGHT_STYLES[commandseparator]:=none}
|
|
39
|
+
: ${ZSH_HIGHLIGHT_STYLES[autodirectory]:=fg=green,underline}
|
|
40
|
+
: ${ZSH_HIGHLIGHT_STYLES[path]:=underline}
|
|
41
|
+
: ${ZSH_HIGHLIGHT_STYLES[path_pathseparator]:=}
|
|
42
|
+
: ${ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]:=}
|
|
43
|
+
: ${ZSH_HIGHLIGHT_STYLES[globbing]:=fg=blue}
|
|
44
|
+
: ${ZSH_HIGHLIGHT_STYLES[history-expansion]:=fg=blue}
|
|
45
|
+
: ${ZSH_HIGHLIGHT_STYLES[command-substitution]:=none}
|
|
46
|
+
: ${ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]:=fg=magenta}
|
|
47
|
+
: ${ZSH_HIGHLIGHT_STYLES[process-substitution]:=none}
|
|
48
|
+
: ${ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]:=fg=magenta}
|
|
49
|
+
: ${ZSH_HIGHLIGHT_STYLES[single-hyphen-option]:=none}
|
|
50
|
+
: ${ZSH_HIGHLIGHT_STYLES[double-hyphen-option]:=none}
|
|
51
|
+
: ${ZSH_HIGHLIGHT_STYLES[back-quoted-argument]:=none}
|
|
52
|
+
: ${ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]:=fg=magenta}
|
|
53
|
+
: ${ZSH_HIGHLIGHT_STYLES[single-quoted-argument]:=fg=yellow}
|
|
54
|
+
: ${ZSH_HIGHLIGHT_STYLES[double-quoted-argument]:=fg=yellow}
|
|
55
|
+
: ${ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]:=fg=yellow}
|
|
56
|
+
: ${ZSH_HIGHLIGHT_STYLES[rc-quote]:=fg=cyan}
|
|
57
|
+
: ${ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]:=fg=cyan}
|
|
58
|
+
: ${ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]:=fg=cyan}
|
|
59
|
+
: ${ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]:=fg=cyan}
|
|
60
|
+
: ${ZSH_HIGHLIGHT_STYLES[assign]:=none}
|
|
61
|
+
: ${ZSH_HIGHLIGHT_STYLES[redirection]:=fg=yellow}
|
|
62
|
+
: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold}
|
|
63
|
+
: ${ZSH_HIGHLIGHT_STYLES[named-fd]:=none}
|
|
64
|
+
: ${ZSH_HIGHLIGHT_STYLES[numeric-fd]:=none}
|
|
65
|
+
: ${ZSH_HIGHLIGHT_STYLES[arg0]:=fg=green}
|
|
66
|
+
|
|
67
|
+
# Whether the highlighter should be called or not.
|
|
68
|
+
_zsh_highlight_highlighter_main_predicate()
|
|
69
|
+
{
|
|
70
|
+
# may need to remove path_prefix highlighting when the line ends
|
|
71
|
+
[[ $WIDGET == zle-line-finish ]] || _zsh_highlight_buffer_modified
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
# Helper to deal with tokens crossing line boundaries.
|
|
75
|
+
_zsh_highlight_main_add_region_highlight() {
|
|
76
|
+
integer start=$1 end=$2
|
|
77
|
+
shift 2
|
|
78
|
+
|
|
79
|
+
if (( $#in_alias )); then
|
|
80
|
+
[[ $1 == unknown-token ]] && alias_style=unknown-token
|
|
81
|
+
return
|
|
82
|
+
fi
|
|
83
|
+
if (( in_param )); then
|
|
84
|
+
if [[ $1 == unknown-token ]]; then
|
|
85
|
+
param_style=unknown-token
|
|
86
|
+
fi
|
|
87
|
+
if [[ -n $param_style ]]; then
|
|
88
|
+
return
|
|
89
|
+
fi
|
|
90
|
+
param_style=$1
|
|
91
|
+
return
|
|
92
|
+
fi
|
|
93
|
+
|
|
94
|
+
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.
|
|
95
|
+
(( start += buf_offset ))
|
|
96
|
+
(( end += buf_offset ))
|
|
97
|
+
|
|
98
|
+
list_highlights+=($start $end $1)
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
_zsh_highlight_main_add_many_region_highlights() {
|
|
102
|
+
for 1 2 3; do
|
|
103
|
+
_zsh_highlight_main_add_region_highlight $1 $2 $3
|
|
104
|
+
done
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
_zsh_highlight_main_calculate_fallback() {
|
|
108
|
+
local -A fallback_of; fallback_of=(
|
|
109
|
+
alias arg0
|
|
110
|
+
suffix-alias arg0
|
|
111
|
+
global-alias dollar-double-quoted-argument
|
|
112
|
+
builtin arg0
|
|
113
|
+
function arg0
|
|
114
|
+
command arg0
|
|
115
|
+
precommand arg0
|
|
116
|
+
hashed-command arg0
|
|
117
|
+
autodirectory arg0
|
|
118
|
+
arg0_\* arg0
|
|
119
|
+
|
|
120
|
+
# TODO: Maybe these? —
|
|
121
|
+
# named-fd file-descriptor
|
|
122
|
+
# numeric-fd file-descriptor
|
|
123
|
+
|
|
124
|
+
path_prefix path
|
|
125
|
+
# The path separator fallback won't ever be used, due to the optimisation
|
|
126
|
+
# in _zsh_highlight_main_highlighter_highlight_path_separators().
|
|
127
|
+
path_pathseparator path
|
|
128
|
+
path_prefix_pathseparator path_prefix
|
|
129
|
+
|
|
130
|
+
single-quoted-argument{-unclosed,}
|
|
131
|
+
double-quoted-argument{-unclosed,}
|
|
132
|
+
dollar-quoted-argument{-unclosed,}
|
|
133
|
+
back-quoted-argument{-unclosed,}
|
|
134
|
+
|
|
135
|
+
command-substitution{-quoted,,-unquoted,}
|
|
136
|
+
command-substitution-delimiter{-quoted,,-unquoted,}
|
|
137
|
+
|
|
138
|
+
command-substitution{-delimiter,}
|
|
139
|
+
process-substitution{-delimiter,}
|
|
140
|
+
back-quoted-argument{-delimiter,}
|
|
141
|
+
)
|
|
142
|
+
local needle=$1 value
|
|
143
|
+
reply=($1)
|
|
144
|
+
while [[ -n ${value::=$fallback_of[(k)$needle]} ]]; do
|
|
145
|
+
unset "fallback_of[$needle]" # paranoia against infinite loops
|
|
146
|
+
reply+=($value)
|
|
147
|
+
needle=$value
|
|
148
|
+
done
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
# Get the type of a command.
|
|
152
|
+
#
|
|
153
|
+
# Uses the zsh/parameter module if available to avoid forks, and a
|
|
154
|
+
# wrapper around 'type -w' as fallback.
|
|
155
|
+
#
|
|
156
|
+
# If $2 is 0, do not consider aliases.
|
|
157
|
+
#
|
|
158
|
+
# The result will be stored in REPLY.
|
|
159
|
+
_zsh_highlight_main__type() {
|
|
160
|
+
integer -r aliases_allowed=${2-1}
|
|
161
|
+
# We won't cache replies of anything that exists as an alias at all, to
|
|
162
|
+
# ensure the cached value is correct regardless of $aliases_allowed.
|
|
163
|
+
#
|
|
164
|
+
# ### We probably _should_ cache them in a cache that's keyed on the value of
|
|
165
|
+
# ### $aliases_allowed, on the assumption that aliases are the common case.
|
|
166
|
+
integer may_cache=1
|
|
167
|
+
|
|
168
|
+
# Cache lookup
|
|
169
|
+
if (( $+_zsh_highlight_main__command_type_cache )); then
|
|
170
|
+
REPLY=$_zsh_highlight_main__command_type_cache[(e)$1]
|
|
171
|
+
if [[ -n "$REPLY" ]]; then
|
|
172
|
+
return
|
|
173
|
+
fi
|
|
174
|
+
fi
|
|
175
|
+
|
|
176
|
+
# Main logic
|
|
177
|
+
if (( $#options_to_set )); then
|
|
178
|
+
setopt localoptions $options_to_set;
|
|
179
|
+
fi
|
|
180
|
+
unset REPLY
|
|
181
|
+
if zmodload -e zsh/parameter; then
|
|
182
|
+
if (( $+aliases[(e)$1] )); then
|
|
183
|
+
may_cache=0
|
|
184
|
+
fi
|
|
185
|
+
if (( ${+galiases[(e)$1]} )) && (( aliases_allowed )); then
|
|
186
|
+
REPLY='global alias'
|
|
187
|
+
elif (( $+aliases[(e)$1] )) && (( aliases_allowed )); then
|
|
188
|
+
REPLY=alias
|
|
189
|
+
elif [[ $1 == *.* && -n ${1%.*} ]] && (( $+saliases[(e)${1##*.}] )); then
|
|
190
|
+
REPLY='suffix alias'
|
|
191
|
+
elif (( $reswords[(Ie)$1] )); then
|
|
192
|
+
REPLY=reserved
|
|
193
|
+
elif (( $+functions[(e)$1] )); then
|
|
194
|
+
REPLY=function
|
|
195
|
+
elif (( $+builtins[(e)$1] )); then
|
|
196
|
+
REPLY=builtin
|
|
197
|
+
elif (( $+commands[(e)$1] )); then
|
|
198
|
+
REPLY=command
|
|
199
|
+
# None of the special hashes had a match, so fall back to 'type -w', for
|
|
200
|
+
# forward compatibility with future versions of zsh that may add new command
|
|
201
|
+
# types.
|
|
202
|
+
#
|
|
203
|
+
# zsh 5.2 and older have a bug whereby running 'type -w ./sudo' implicitly
|
|
204
|
+
# runs 'hash ./sudo=/usr/local/bin/./sudo' (assuming /usr/local/bin/sudo
|
|
205
|
+
# exists and is in $PATH). Avoid triggering the bug, at the expense of
|
|
206
|
+
# falling through to the $() below, incurring a fork. (Issue #354.)
|
|
207
|
+
#
|
|
208
|
+
# The first disjunct mimics the isrelative() C call from the zsh bug.
|
|
209
|
+
elif { [[ $1 != */* ]] || is-at-least 5.3 } &&
|
|
210
|
+
# Add a subshell to avoid a zsh upstream bug; see issue #606.
|
|
211
|
+
# ### Remove the subshell when we stop supporting zsh 5.7.1 (I assume 5.8 will have the bugfix).
|
|
212
|
+
! (builtin type -w -- "$1") >/dev/null 2>&1; then
|
|
213
|
+
REPLY=none
|
|
214
|
+
fi
|
|
215
|
+
fi
|
|
216
|
+
if ! (( $+REPLY )); then
|
|
217
|
+
# zsh/parameter not available or had no matches.
|
|
218
|
+
#
|
|
219
|
+
# Note that 'type -w' will run 'rehash' implicitly.
|
|
220
|
+
#
|
|
221
|
+
# We 'unalias' in a subshell, so the parent shell is not affected.
|
|
222
|
+
#
|
|
223
|
+
# The colon command is there just to avoid a command substitution that
|
|
224
|
+
# starts with an arithmetic expression [«((…))» as the first thing inside
|
|
225
|
+
# «$(…)»], which is area that has had some parsing bugs before 5.6
|
|
226
|
+
# (approximately).
|
|
227
|
+
REPLY="${$(:; (( aliases_allowed )) || unalias -- "$1" 2>/dev/null; LC_ALL=C builtin type -w -- "$1" 2>/dev/null)##*: }"
|
|
228
|
+
if [[ $REPLY == 'alias' ]]; then
|
|
229
|
+
may_cache=0
|
|
230
|
+
fi
|
|
231
|
+
fi
|
|
232
|
+
|
|
233
|
+
# Cache population
|
|
234
|
+
if (( may_cache )) && (( $+_zsh_highlight_main__command_type_cache )); then
|
|
235
|
+
_zsh_highlight_main__command_type_cache[(e)$1]=$REPLY
|
|
236
|
+
fi
|
|
237
|
+
[[ -n $REPLY ]]
|
|
238
|
+
return $?
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
# Checks whether $1 is something that can be run.
|
|
242
|
+
#
|
|
243
|
+
# Return 0 if runnable, 1 if not runnable, 2 if trouble.
|
|
244
|
+
_zsh_highlight_main__is_runnable() {
|
|
245
|
+
if _zsh_highlight_main__type "$1"; then
|
|
246
|
+
[[ $REPLY != none ]]
|
|
247
|
+
else
|
|
248
|
+
return 2
|
|
249
|
+
fi
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
# Check whether the first argument is a redirection operator token.
|
|
253
|
+
# Report result via the exit code.
|
|
254
|
+
_zsh_highlight_main__is_redirection() {
|
|
255
|
+
# A redirection operator token:
|
|
256
|
+
# - starts with an optional single-digit number;
|
|
257
|
+
# - is one of the tokens listed in zshmisc(1)
|
|
258
|
+
# - however (z) normalizes ! to |
|
|
259
|
+
[[ ${1#[0-9]} == (\<|\<\>|(\>|\>\>)(|\|)|\<\<(|-)|\<\<\<|\<\&|\&\<|(\>|\>\>)\&(|\|)|\&(\>|\>\>)(|\||\!)) ]]
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
# Resolve alias.
|
|
263
|
+
#
|
|
264
|
+
# Takes a single argument.
|
|
265
|
+
#
|
|
266
|
+
# The result will be stored in REPLY.
|
|
267
|
+
_zsh_highlight_main__resolve_alias() {
|
|
268
|
+
if zmodload -e zsh/parameter; then
|
|
269
|
+
REPLY=${aliases[$arg]}
|
|
270
|
+
else
|
|
271
|
+
REPLY="${"$(alias -- $arg)"#*=}"
|
|
272
|
+
fi
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
# Return true iff $1 is a global alias
|
|
276
|
+
_zsh_highlight_main__is_global_alias() {
|
|
277
|
+
if zmodload -e zsh/parameter; then
|
|
278
|
+
(( ${+galiases[$arg]} ))
|
|
279
|
+
elif [[ $arg == '='* ]]; then
|
|
280
|
+
# avoid running into «alias -L '=foo'» erroring out with 'bad assignment'
|
|
281
|
+
return 1
|
|
282
|
+
else
|
|
283
|
+
alias -L -g -- "$1" >/dev/null
|
|
284
|
+
fi
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
# Check that the top of $braces_stack has the expected value. If it does, set
|
|
288
|
+
# the style according to $2; otherwise, set style=unknown-token.
|
|
289
|
+
#
|
|
290
|
+
# $1: character expected to be at the top of $braces_stack
|
|
291
|
+
# $2: optional assignment to style it if matches
|
|
292
|
+
# return value is 0 if there is a match else 1
|
|
293
|
+
_zsh_highlight_main__stack_pop() {
|
|
294
|
+
if [[ $braces_stack[1] == $1 ]]; then
|
|
295
|
+
braces_stack=${braces_stack:1}
|
|
296
|
+
if (( $+2 )); then
|
|
297
|
+
style=$2
|
|
298
|
+
fi
|
|
299
|
+
return 0
|
|
300
|
+
else
|
|
301
|
+
style=unknown-token
|
|
302
|
+
return 1
|
|
303
|
+
fi
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
# Main syntax highlighting function.
|
|
307
|
+
_zsh_highlight_highlighter_main_paint()
|
|
308
|
+
{
|
|
309
|
+
setopt localoptions extendedglob
|
|
310
|
+
|
|
311
|
+
# At the PS3 prompt and in vared, highlight nothing.
|
|
312
|
+
#
|
|
313
|
+
# (We can't check this in _zsh_highlight_highlighter_main_predicate because
|
|
314
|
+
# if the predicate returns false, the previous value of region_highlight
|
|
315
|
+
# would be reused.)
|
|
316
|
+
if [[ $CONTEXT == (select|vared) ]]; then
|
|
317
|
+
return
|
|
318
|
+
fi
|
|
319
|
+
|
|
320
|
+
typeset -a ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR
|
|
321
|
+
typeset -a ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW
|
|
322
|
+
local -a options_to_set reply # used in callees
|
|
323
|
+
local REPLY
|
|
324
|
+
|
|
325
|
+
# $flags_with_argument is a set of letters, corresponding to the option letters
|
|
326
|
+
# that would be followed by a colon in a getopts specification.
|
|
327
|
+
local flags_with_argument
|
|
328
|
+
# $flags_sans_argument is a set of letters, corresponding to the option letters
|
|
329
|
+
# that wouldn't be followed by a colon in a getopts specification.
|
|
330
|
+
local flags_sans_argument
|
|
331
|
+
# $flags_solo is a set of letters, corresponding to option letters that, if
|
|
332
|
+
# present, mean the precommand will not be acting as a precommand, i.e., will
|
|
333
|
+
# not be followed by a :start: word.
|
|
334
|
+
local flags_solo
|
|
335
|
+
# $precommand_options maps precommand name to values of $flags_with_argument,
|
|
336
|
+
# $flags_sans_argument, and flags_solo for that precommand, joined by a
|
|
337
|
+
# colon. (The value is NOT a getopt(3) spec, although it resembles one.)
|
|
338
|
+
#
|
|
339
|
+
# Currently, setting $flags_sans_argument is only important for commands that
|
|
340
|
+
# have a non-empty $flags_with_argument; see test-data/precommand4.zsh.
|
|
341
|
+
local -A precommand_options
|
|
342
|
+
precommand_options=(
|
|
343
|
+
# Precommand modifiers as of zsh 5.6.2 cf. zshmisc(1).
|
|
344
|
+
'-' ''
|
|
345
|
+
'builtin' ''
|
|
346
|
+
'command' :pvV
|
|
347
|
+
'exec' a:cl
|
|
348
|
+
'noglob' ''
|
|
349
|
+
# 'time' and 'nocorrect' shouldn't be added here; they're reserved words, not precommands.
|
|
350
|
+
|
|
351
|
+
# miscellaneous commands
|
|
352
|
+
'doas' aCu:Lns # as of OpenBSD's doas(1) dated September 4, 2016
|
|
353
|
+
'nice' n: # as of current POSIX spec
|
|
354
|
+
'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags
|
|
355
|
+
# Not listed: -h, which has two different meanings.
|
|
356
|
+
'sudo' Cgprtu:AEHPSbilns:eKkVv # as of sudo 1.8.21p2
|
|
357
|
+
'stdbuf' ioe:
|
|
358
|
+
'eatmydata' ''
|
|
359
|
+
'catchsegv' ''
|
|
360
|
+
'nohup' ''
|
|
361
|
+
'setsid' :wc
|
|
362
|
+
'env' u:i
|
|
363
|
+
'ionice' cn:t:pPu # util-linux 2.33.1-0.1
|
|
364
|
+
'strace' IbeaosXPpEuOS:ACdfhikqrtTvVxyDc # strace 4.26-0.2
|
|
365
|
+
'proxychains' f:q # proxychains 4.4.0
|
|
366
|
+
'torsocks' idq:upaP # Torsocks 2.3.0
|
|
367
|
+
'torify' idq:upaP # Torsocks 2.3.0
|
|
368
|
+
'ssh-agent' aEPt:csDd:k # As of OpenSSH 8.1p1
|
|
369
|
+
'tabbed' gnprtTuU:cdfhs:v # suckless-tools v44
|
|
370
|
+
'chronic' :ev # moreutils 0.62-1
|
|
371
|
+
'ifne' :n # moreutils 0.62-1
|
|
372
|
+
'grc' :se # grc - a "generic colouriser" (that's their spelling, not mine)
|
|
373
|
+
'cpulimit' elp:ivz # cpulimit 0.2
|
|
374
|
+
'ktrace' fgpt:aBCcdiT
|
|
375
|
+
'caffeinate' tw:dimsu # as of macOS's caffeinate(8) dated November 9, 2012
|
|
376
|
+
)
|
|
377
|
+
# Commands that would need to skip one positional argument:
|
|
378
|
+
# flock
|
|
379
|
+
# ssh
|
|
380
|
+
# _wanted (skip two)
|
|
381
|
+
|
|
382
|
+
if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then
|
|
383
|
+
local right_brace_is_recognised_everywhere=false
|
|
384
|
+
else
|
|
385
|
+
local right_brace_is_recognised_everywhere=true
|
|
386
|
+
fi
|
|
387
|
+
|
|
388
|
+
if [[ $zsyh_user_options[pathdirs] == on ]]; then
|
|
389
|
+
options_to_set+=( PATH_DIRS )
|
|
390
|
+
fi
|
|
391
|
+
|
|
392
|
+
ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR=(
|
|
393
|
+
'|' '||' ';' '&' '&&'
|
|
394
|
+
$'\n' # ${(z)} returns ';' but we convert it to $'\n'
|
|
395
|
+
'|&'
|
|
396
|
+
'&!' '&|'
|
|
397
|
+
# ### 'case' syntax, but followed by a pattern, not by a command
|
|
398
|
+
# ';;' ';&' ';|'
|
|
399
|
+
)
|
|
400
|
+
|
|
401
|
+
# Tokens that, at (naively-determined) "command position", are followed by
|
|
402
|
+
# a de jure command position. All of these are reserved words.
|
|
403
|
+
ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW=(
|
|
404
|
+
$'\x7b' # block
|
|
405
|
+
$'\x28' # subshell
|
|
406
|
+
'()' # anonymous function
|
|
407
|
+
'while'
|
|
408
|
+
'until'
|
|
409
|
+
'if'
|
|
410
|
+
'then'
|
|
411
|
+
'elif'
|
|
412
|
+
'else'
|
|
413
|
+
'do'
|
|
414
|
+
'time'
|
|
415
|
+
'coproc'
|
|
416
|
+
'!' # reserved word; unrelated to $histchars[1]
|
|
417
|
+
)
|
|
418
|
+
|
|
419
|
+
if (( $+X_ZSH_HIGHLIGHT_DIRS_BLACKLIST )); then
|
|
420
|
+
print >&2 'zsh-syntax-highlighting: X_ZSH_HIGHLIGHT_DIRS_BLACKLIST is deprecated. Please use ZSH_HIGHLIGHT_DIRS_BLACKLIST.'
|
|
421
|
+
ZSH_HIGHLIGHT_DIRS_BLACKLIST=($X_ZSH_HIGHLIGHT_DIRS_BLACKLIST)
|
|
422
|
+
unset X_ZSH_HIGHLIGHT_DIRS_BLACKLIST
|
|
423
|
+
fi
|
|
424
|
+
|
|
425
|
+
_zsh_highlight_main_highlighter_highlight_list -$#PREBUFFER '' 1 "$PREBUFFER$BUFFER"
|
|
426
|
+
|
|
427
|
+
# end is a reserved word
|
|
428
|
+
local start end_ style
|
|
429
|
+
for start end_ style in $reply; do
|
|
430
|
+
(( start >= end_ )) && { print -r -- >&2 "zsh-syntax-highlighting: BUG: _zsh_highlight_highlighter_main_paint: start($start) >= end($end_)"; return }
|
|
431
|
+
(( end_ <= 0 )) && continue
|
|
432
|
+
(( start < 0 )) && start=0 # having start<0 is normal with e.g. multiline strings
|
|
433
|
+
_zsh_highlight_main_calculate_fallback $style
|
|
434
|
+
_zsh_highlight_add_highlight $start $end_ $reply
|
|
435
|
+
done
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
# Try to expand $1, if it's possible to do so safely.
|
|
439
|
+
#
|
|
440
|
+
# Uses two parameters from the caller: $parameter_name_pattern and $res.
|
|
441
|
+
#
|
|
442
|
+
# If expansion was done, set $reply to the expansion and return true.
|
|
443
|
+
# Otherwise, return false.
|
|
444
|
+
_zsh_highlight_main_highlighter__try_expand_parameter()
|
|
445
|
+
{
|
|
446
|
+
local arg="$1"
|
|
447
|
+
unset reply
|
|
448
|
+
{
|
|
449
|
+
# ### For now, expand just '$foo' or '${foo}', possibly with braces, but with
|
|
450
|
+
# ### no other features of the parameter expansion syntax. (No ${(x)foo},
|
|
451
|
+
# ### no ${foo[x]}, no ${foo:-x}.)
|
|
452
|
+
{
|
|
453
|
+
local -a match mbegin mend
|
|
454
|
+
local MATCH; integer MBEGIN MEND
|
|
455
|
+
local parameter_name
|
|
456
|
+
local -a words
|
|
457
|
+
if [[ $arg[1] != '$' ]]; then
|
|
458
|
+
return 1
|
|
459
|
+
fi
|
|
460
|
+
if [[ ${arg[2]} == '{' ]] && [[ ${arg[-1]} == '}' ]]; then
|
|
461
|
+
parameter_name=${${arg:2}%?}
|
|
462
|
+
else
|
|
463
|
+
parameter_name=${arg:1}
|
|
464
|
+
fi
|
|
465
|
+
if [[ $res == none ]] &&
|
|
466
|
+
[[ ${parameter_name} =~ ^${~parameter_name_pattern}$ ]] &&
|
|
467
|
+
[[ ${(tP)MATCH} != *special* ]]
|
|
468
|
+
then
|
|
469
|
+
# Set $arg and update $res.
|
|
470
|
+
case ${(tP)MATCH} in
|
|
471
|
+
(*array*|*assoc*)
|
|
472
|
+
words=( ${(P)MATCH} )
|
|
473
|
+
;;
|
|
474
|
+
("")
|
|
475
|
+
# not set
|
|
476
|
+
words=( )
|
|
477
|
+
;;
|
|
478
|
+
(*)
|
|
479
|
+
# scalar, presumably
|
|
480
|
+
if [[ $zsyh_user_options[shwordsplit] == on ]]; then
|
|
481
|
+
words=( ${(P)=MATCH} )
|
|
482
|
+
else
|
|
483
|
+
words=( ${(P)MATCH} )
|
|
484
|
+
fi
|
|
485
|
+
;;
|
|
486
|
+
esac
|
|
487
|
+
reply=( "${words[@]}" )
|
|
488
|
+
else
|
|
489
|
+
return 1
|
|
490
|
+
fi
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
# $1 is the offset of $4 from the parent buffer. Added to the returned highlights.
|
|
496
|
+
# $2 is the initial braces_stack (for a closing paren).
|
|
497
|
+
# $3 is 1 if $4 contains the end of $BUFFER, else 0.
|
|
498
|
+
# $4 is the buffer to highlight.
|
|
499
|
+
# Returns:
|
|
500
|
+
# $REPLY: $buf[REPLY] is the last character parsed.
|
|
501
|
+
# $reply is an array of region_highlight additions.
|
|
502
|
+
# exit code is 0 if the braces_stack is empty, 1 otherwise.
|
|
503
|
+
_zsh_highlight_main_highlighter_highlight_list()
|
|
504
|
+
{
|
|
505
|
+
integer start_pos end_pos=0 buf_offset=$1 has_end=$3
|
|
506
|
+
# alias_style is the style to apply to an alias once $#in_alias == 0
|
|
507
|
+
# Usually 'alias' but set to 'unknown-token' if any word expanded from
|
|
508
|
+
# the alias would be highlighted as unknown-token
|
|
509
|
+
# param_style is analogous for parameter expansions
|
|
510
|
+
local alias_style param_style last_arg arg buf=$4 highlight_glob=true saw_assignment=false style
|
|
511
|
+
local in_array_assignment=false # true between 'a=(' and the matching ')'
|
|
512
|
+
# in_alias is an array of integers with each element equal to the number
|
|
513
|
+
# of shifts needed until arg=args[1] pops an arg from the next level up
|
|
514
|
+
# alias or from BUFFER.
|
|
515
|
+
# in_param is analogous for parameter expansions
|
|
516
|
+
integer in_param=0 len=$#buf
|
|
517
|
+
local -a in_alias match mbegin mend list_highlights
|
|
518
|
+
# seen_alias is a map of aliases already seen to avoid loops like alias a=b b=a
|
|
519
|
+
local -A seen_alias
|
|
520
|
+
# Pattern for parameter names
|
|
521
|
+
readonly parameter_name_pattern='([A-Za-z_][A-Za-z0-9_]*|[0-9]+)'
|
|
522
|
+
list_highlights=()
|
|
523
|
+
|
|
524
|
+
# "R" for round
|
|
525
|
+
# "Q" for square
|
|
526
|
+
# "Y" for curly
|
|
527
|
+
# "T" for [[ ]]
|
|
528
|
+
# "S" for $( ), =( ), <( ), >( )
|
|
529
|
+
# "D" for do/done
|
|
530
|
+
# "$" for 'end' (matches 'foreach' always; also used with cshjunkiequotes in repeat/while)
|
|
531
|
+
# "?" for 'if'/'fi'; also checked by 'elif'/'else'
|
|
532
|
+
# ":" for 'then'
|
|
533
|
+
local braces_stack=$2
|
|
534
|
+
|
|
535
|
+
# State machine
|
|
536
|
+
#
|
|
537
|
+
# The states are:
|
|
538
|
+
# - :start: Command word
|
|
539
|
+
# - :start_of_pipeline: Start of a 'pipeline' as defined in zshmisc(1).
|
|
540
|
+
# Only valid when :start: is present
|
|
541
|
+
# - :sudo_opt: A leading-dash option to a precommand, whether it takes an
|
|
542
|
+
# argument or not. (Example: sudo's "-u" or "-i".)
|
|
543
|
+
# - :sudo_arg: The argument to a precommand's leading-dash option,
|
|
544
|
+
# when given as a separate word; i.e., "foo" in "-u foo" (two
|
|
545
|
+
# words) but not in "-ufoo" (one word).
|
|
546
|
+
# Note: :sudo_opt: and :sudo_arg: are used for any precommand
|
|
547
|
+
# declared in ${precommand_options}, not just for sudo(8).
|
|
548
|
+
# The naming is historical.
|
|
549
|
+
# - :regular: "Not a command word", and command delimiters are permitted.
|
|
550
|
+
# Mainly used to detect premature termination of commands.
|
|
551
|
+
# - :always: The word 'always' in the «{ foo } always { bar }» syntax.
|
|
552
|
+
#
|
|
553
|
+
# When the kind of a word is not yet known, $this_word / $next_word may contain
|
|
554
|
+
# multiple states. For example, after "sudo -i", the next word may be either
|
|
555
|
+
# another --flag or a command name, hence the state would include both ':start:'
|
|
556
|
+
# and ':sudo_opt:'.
|
|
557
|
+
#
|
|
558
|
+
# The tokens are always added with both leading and trailing colons to serve as
|
|
559
|
+
# word delimiters (an improvised array); [[ $x == *':foo:'* ]] and x=${x//:foo:/}
|
|
560
|
+
# will DTRT regardless of how many elements or repetitions $x has.
|
|
561
|
+
#
|
|
562
|
+
# Handling of redirections: upon seeing a redirection token, we must stall
|
|
563
|
+
# the current state --- that is, the value of $this_word --- for two iterations
|
|
564
|
+
# (one for the redirection operator, one for the word following it representing
|
|
565
|
+
# the redirection target). Therefore, we set $in_redirection to 2 upon seeing a
|
|
566
|
+
# redirection operator, decrement it each iteration, and stall the current state
|
|
567
|
+
# when it is non-zero. Thus, upon reaching the next word (the one that follows
|
|
568
|
+
# the redirection operator and target), $this_word will still contain values
|
|
569
|
+
# appropriate for the word immediately following the word that preceded the
|
|
570
|
+
# redirection operator.
|
|
571
|
+
#
|
|
572
|
+
# The "the previous word was a redirection operator" state is not communicated
|
|
573
|
+
# to the next iteration via $next_word/$this_word as usual, but via
|
|
574
|
+
# $in_redirection. The value of $next_word from the iteration that processed
|
|
575
|
+
# the operator is discarded.
|
|
576
|
+
#
|
|
577
|
+
# $in_redirection is currently used for:
|
|
578
|
+
# - comments
|
|
579
|
+
# - aliases
|
|
580
|
+
# - redirections
|
|
581
|
+
# - parameter elision in command position
|
|
582
|
+
# - 'repeat' loops
|
|
583
|
+
#
|
|
584
|
+
local this_word next_word=':start::start_of_pipeline:'
|
|
585
|
+
integer in_redirection
|
|
586
|
+
# Processing buffer
|
|
587
|
+
local proc_buf="$buf"
|
|
588
|
+
local -a args
|
|
589
|
+
if [[ $zsyh_user_options[interactivecomments] == on ]]; then
|
|
590
|
+
args=(${(zZ+c+)buf})
|
|
591
|
+
else
|
|
592
|
+
args=(${(z)buf})
|
|
593
|
+
fi
|
|
594
|
+
|
|
595
|
+
# Special case: $(<*) isn't globbing.
|
|
596
|
+
if [[ $braces_stack == 'S' ]] && (( $+args[3] && ! $+args[4] )) && [[ $args[3] == $'\x29' ]] &&
|
|
597
|
+
[[ $args[1] == *'<'* ]] && _zsh_highlight_main__is_redirection $args[1]; then
|
|
598
|
+
highlight_glob=false
|
|
599
|
+
fi
|
|
600
|
+
|
|
601
|
+
while (( $#args )); do
|
|
602
|
+
last_arg=$arg
|
|
603
|
+
arg=$args[1]
|
|
604
|
+
shift args
|
|
605
|
+
if (( $#in_alias )); then
|
|
606
|
+
(( in_alias[1]-- ))
|
|
607
|
+
# Remove leading 0 entries
|
|
608
|
+
in_alias=($in_alias[$in_alias[(i)<1->],-1])
|
|
609
|
+
if (( $#in_alias == 0 )); then
|
|
610
|
+
seen_alias=()
|
|
611
|
+
# start_pos and end_pos are of the alias (previous $arg) here
|
|
612
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos $alias_style
|
|
613
|
+
else
|
|
614
|
+
# We can't unset keys that contain special characters (] \ and some others).
|
|
615
|
+
# More details: https://www.zsh.org/workers/43269
|
|
616
|
+
(){
|
|
617
|
+
local alias_name
|
|
618
|
+
for alias_name in ${(k)seen_alias[(R)<$#in_alias->]}; do
|
|
619
|
+
seen_alias=("${(@kv)seen_alias[(I)^$alias_name]}")
|
|
620
|
+
done
|
|
621
|
+
}
|
|
622
|
+
fi
|
|
623
|
+
fi
|
|
624
|
+
if (( in_param )); then
|
|
625
|
+
(( in_param-- ))
|
|
626
|
+
if (( in_param == 0 )); then
|
|
627
|
+
# start_pos and end_pos are of the '$foo' word (previous $arg) here
|
|
628
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos $param_style
|
|
629
|
+
param_style=""
|
|
630
|
+
fi
|
|
631
|
+
fi
|
|
632
|
+
|
|
633
|
+
# Initialize this_word and next_word.
|
|
634
|
+
if (( in_redirection == 0 )); then
|
|
635
|
+
this_word=$next_word
|
|
636
|
+
next_word=':regular:'
|
|
637
|
+
elif (( !in_param )); then
|
|
638
|
+
# Stall $next_word.
|
|
639
|
+
(( --in_redirection ))
|
|
640
|
+
fi
|
|
641
|
+
|
|
642
|
+
# Initialize per-"simple command" [zshmisc(1)] variables:
|
|
643
|
+
#
|
|
644
|
+
# $style how to highlight $arg
|
|
645
|
+
# $in_array_assignment boolean flag for "between '(' and ')' of array assignment"
|
|
646
|
+
# $highlight_glob boolean flag for "'noglob' is in effect"
|
|
647
|
+
# $saw_assignment boolean flag for "was preceded by an assignment"
|
|
648
|
+
#
|
|
649
|
+
style=unknown-token
|
|
650
|
+
if [[ $this_word == *':start:'* ]]; then
|
|
651
|
+
in_array_assignment=false
|
|
652
|
+
if [[ $arg == 'noglob' ]]; then
|
|
653
|
+
highlight_glob=false
|
|
654
|
+
fi
|
|
655
|
+
fi
|
|
656
|
+
|
|
657
|
+
if (( $#in_alias == 0 && in_param == 0 )); then
|
|
658
|
+
# Compute the new $start_pos and $end_pos, skipping over whitespace in $buf.
|
|
659
|
+
[[ "$proc_buf" = (#b)(#s)(''([ $'\t']|[\\]$'\n')#)(?|)* ]]
|
|
660
|
+
# The first, outer parenthesis
|
|
661
|
+
integer offset="${#match[1]}"
|
|
662
|
+
(( start_pos = end_pos + offset ))
|
|
663
|
+
(( end_pos = start_pos + $#arg ))
|
|
664
|
+
|
|
665
|
+
# The zsh lexer considers ';' and newline to be the same token, so
|
|
666
|
+
# ${(z)} converts all newlines to semicolons. Convert them back here to
|
|
667
|
+
# make later processing simpler.
|
|
668
|
+
[[ $arg == ';' && ${match[3]} == $'\n' ]] && arg=$'\n'
|
|
669
|
+
|
|
670
|
+
# Compute the new $proc_buf. We advance it
|
|
671
|
+
# (chop off characters from the beginning)
|
|
672
|
+
# beyond what end_pos points to, by skipping
|
|
673
|
+
# as many characters as end_pos was advanced.
|
|
674
|
+
#
|
|
675
|
+
# end_pos was advanced by $offset (via start_pos)
|
|
676
|
+
# and by $#arg. Note the `start_pos=$end_pos`
|
|
677
|
+
# below.
|
|
678
|
+
#
|
|
679
|
+
# As for the [,len]. We could use [,len-start_pos+offset]
|
|
680
|
+
# here, but to make it easier on eyes, we use len and
|
|
681
|
+
# rely on the fact that Zsh simply handles that. The
|
|
682
|
+
# length of proc_buf is len-start_pos+offset because
|
|
683
|
+
# we're chopping it to match current start_pos, so its
|
|
684
|
+
# length matches the previous value of start_pos.
|
|
685
|
+
#
|
|
686
|
+
# Why [,-1] is slower than [,length] isn't clear.
|
|
687
|
+
proc_buf="${proc_buf[offset + $#arg + 1,len]}"
|
|
688
|
+
fi
|
|
689
|
+
|
|
690
|
+
# Handle the INTERACTIVE_COMMENTS option.
|
|
691
|
+
#
|
|
692
|
+
# We use the (Z+c+) flag so the entire comment is presented as one token in $arg.
|
|
693
|
+
if [[ $zsyh_user_options[interactivecomments] == on && $arg[1] == $histchars[3] ]]; then
|
|
694
|
+
if [[ $this_word == *(':regular:'|':start:')* ]]; then
|
|
695
|
+
style=comment
|
|
696
|
+
else
|
|
697
|
+
style=unknown-token # prematurely terminated
|
|
698
|
+
fi
|
|
699
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos $style
|
|
700
|
+
# Stall this arg
|
|
701
|
+
in_redirection=1
|
|
702
|
+
continue
|
|
703
|
+
fi
|
|
704
|
+
|
|
705
|
+
if [[ $this_word == *':start:'* ]] && ! (( in_redirection )); then
|
|
706
|
+
# Expand aliases.
|
|
707
|
+
# An alias is ineligible for expansion while it's being expanded (see #652/#653).
|
|
708
|
+
_zsh_highlight_main__type "$arg" "$(( ! ${+seen_alias[$arg]} ))"
|
|
709
|
+
local res="$REPLY"
|
|
710
|
+
if [[ $res == "alias" ]]; then
|
|
711
|
+
# Mark insane aliases as unknown-token (cf. #263).
|
|
712
|
+
if [[ $arg == ?*=* ]]; then
|
|
713
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
|
|
714
|
+
continue
|
|
715
|
+
fi
|
|
716
|
+
seen_alias[$arg]=$#in_alias
|
|
717
|
+
_zsh_highlight_main__resolve_alias $arg
|
|
718
|
+
local -a alias_args
|
|
719
|
+
# Elision is desired in case alias x=''
|
|
720
|
+
if [[ $zsyh_user_options[interactivecomments] == on ]]; then
|
|
721
|
+
alias_args=(${(zZ+c+)REPLY})
|
|
722
|
+
else
|
|
723
|
+
alias_args=(${(z)REPLY})
|
|
724
|
+
fi
|
|
725
|
+
args=( $alias_args $args )
|
|
726
|
+
if (( $#in_alias == 0 )); then
|
|
727
|
+
alias_style=alias
|
|
728
|
+
else
|
|
729
|
+
# Transfer the count of this arg to the new element about to be appended.
|
|
730
|
+
(( in_alias[1]-- ))
|
|
731
|
+
fi
|
|
732
|
+
# Add one because we will in_alias[1]-- on the next loop iteration so
|
|
733
|
+
# this iteration should be considered in in_alias as well
|
|
734
|
+
in_alias=( $(($#alias_args + 1)) $in_alias )
|
|
735
|
+
(( in_redirection++ )) # Stall this arg
|
|
736
|
+
continue
|
|
737
|
+
else
|
|
738
|
+
_zsh_highlight_main_highlighter_expand_path $arg
|
|
739
|
+
_zsh_highlight_main__type "$REPLY" 0
|
|
740
|
+
res="$REPLY"
|
|
741
|
+
fi
|
|
742
|
+
fi
|
|
743
|
+
|
|
744
|
+
# Analyse the current word.
|
|
745
|
+
if _zsh_highlight_main__is_redirection $arg ; then
|
|
746
|
+
if (( in_redirection == 1 )); then
|
|
747
|
+
# Two consecutive redirection operators is an error.
|
|
748
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
|
|
749
|
+
else
|
|
750
|
+
in_redirection=2
|
|
751
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos redirection
|
|
752
|
+
fi
|
|
753
|
+
continue
|
|
754
|
+
elif [[ $arg == '{'${~parameter_name_pattern}'}' ]] && _zsh_highlight_main__is_redirection $args[1]; then
|
|
755
|
+
# named file descriptor: {foo}>&2
|
|
756
|
+
in_redirection=3
|
|
757
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos named-fd
|
|
758
|
+
continue
|
|
759
|
+
fi
|
|
760
|
+
|
|
761
|
+
# Expand parameters.
|
|
762
|
+
if (( ! in_param )) && _zsh_highlight_main_highlighter__try_expand_parameter "$arg"; then
|
|
763
|
+
# That's not entirely correct --- if the parameter's value happens to be a reserved
|
|
764
|
+
# word, the parameter expansion will be highlighted as a reserved word --- but that
|
|
765
|
+
# incorrectness is outweighed by the usability improvement of permitting the use of
|
|
766
|
+
# parameters that refer to commands, functions, and builtins.
|
|
767
|
+
() {
|
|
768
|
+
local -a words; words=( "${reply[@]}" )
|
|
769
|
+
if (( $#words == 0 )) && (( ! in_redirection )); then
|
|
770
|
+
# Parameter elision is happening
|
|
771
|
+
(( ++in_redirection ))
|
|
772
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos comment
|
|
773
|
+
continue
|
|
774
|
+
else
|
|
775
|
+
(( in_param = 1 + $#words ))
|
|
776
|
+
args=( $words $args )
|
|
777
|
+
arg=$args[1]
|
|
778
|
+
_zsh_highlight_main__type "$arg" 0
|
|
779
|
+
res=$REPLY
|
|
780
|
+
fi
|
|
781
|
+
}
|
|
782
|
+
fi
|
|
783
|
+
|
|
784
|
+
# Parse the sudo command line
|
|
785
|
+
if (( ! in_redirection )); then
|
|
786
|
+
if [[ $this_word == *':sudo_opt:'* ]]; then
|
|
787
|
+
if [[ -n $flags_with_argument ]] &&
|
|
788
|
+
{
|
|
789
|
+
# Trenary
|
|
790
|
+
if [[ -n $flags_sans_argument ]]
|
|
791
|
+
then [[ $arg == '-'[$flags_sans_argument]#[$flags_with_argument] ]]
|
|
792
|
+
else [[ $arg == '-'[$flags_with_argument] ]]
|
|
793
|
+
fi
|
|
794
|
+
} then
|
|
795
|
+
# Flag that requires an argument
|
|
796
|
+
this_word=${this_word//:start:/}
|
|
797
|
+
next_word=':sudo_arg:'
|
|
798
|
+
elif [[ -n $flags_with_argument ]] &&
|
|
799
|
+
{
|
|
800
|
+
# Trenary
|
|
801
|
+
if [[ -n $flags_sans_argument ]]
|
|
802
|
+
then [[ $arg == '-'[$flags_sans_argument]#[$flags_with_argument]* ]]
|
|
803
|
+
else [[ $arg == '-'[$flags_with_argument]* ]]
|
|
804
|
+
fi
|
|
805
|
+
} then
|
|
806
|
+
# Argument attached in the same word
|
|
807
|
+
this_word=${this_word//:start:/}
|
|
808
|
+
next_word+=':start:'
|
|
809
|
+
next_word+=':sudo_opt:'
|
|
810
|
+
elif [[ -n $flags_sans_argument ]] &&
|
|
811
|
+
[[ $arg == '-'[$flags_sans_argument]# ]]; then
|
|
812
|
+
# Flag that requires no argument
|
|
813
|
+
this_word=':sudo_opt:'
|
|
814
|
+
next_word+=':start:'
|
|
815
|
+
next_word+=':sudo_opt:'
|
|
816
|
+
elif [[ -n $flags_solo ]] &&
|
|
817
|
+
{
|
|
818
|
+
# Trenary
|
|
819
|
+
if [[ -n $flags_sans_argument ]]
|
|
820
|
+
then [[ $arg == '-'[$flags_sans_argument]#[$flags_solo]* ]]
|
|
821
|
+
else [[ $arg == '-'[$flags_solo]* ]]
|
|
822
|
+
fi
|
|
823
|
+
} then
|
|
824
|
+
# Solo flags
|
|
825
|
+
this_word=':sudo_opt:'
|
|
826
|
+
next_word=':regular:' # no :start:, nor :sudo_opt: since we don't know whether the solo flag takes an argument or not
|
|
827
|
+
elif [[ $arg == '-'* ]]; then
|
|
828
|
+
# Unknown flag. We don't know whether it takes an argument or not,
|
|
829
|
+
# so modify $next_word as we do for flags that require no argument.
|
|
830
|
+
# With that behaviour, if the flag in fact takes no argument we'll
|
|
831
|
+
# highlight the inner command word correctly, and if it does take an
|
|
832
|
+
# argument we'll highlight the command word correctly if the argument
|
|
833
|
+
# was given in the same shell word as the flag (as in '-uphy1729' or
|
|
834
|
+
# '--user=phy1729' without spaces).
|
|
835
|
+
this_word=':sudo_opt:'
|
|
836
|
+
next_word+=':start:'
|
|
837
|
+
next_word+=':sudo_opt:'
|
|
838
|
+
else
|
|
839
|
+
# Not an option flag; nothing to do. (If the command line is
|
|
840
|
+
# syntactically valid, ${this_word//:sudo_opt:/} should be
|
|
841
|
+
# non-empty now.)
|
|
842
|
+
this_word=${this_word//:sudo_opt:/}
|
|
843
|
+
fi
|
|
844
|
+
elif [[ $this_word == *':sudo_arg:'* ]]; then
|
|
845
|
+
next_word+=':sudo_opt:'
|
|
846
|
+
next_word+=':start:'
|
|
847
|
+
fi
|
|
848
|
+
fi
|
|
849
|
+
|
|
850
|
+
# The Great Fork: is this a command word? Is this a non-command word?
|
|
851
|
+
if [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR:#"$arg"} ]] &&
|
|
852
|
+
[[ $braces_stack != *T* || $arg != ('||'|'&&') ]]; then
|
|
853
|
+
|
|
854
|
+
# First, determine the style of the command separator itself.
|
|
855
|
+
if _zsh_highlight_main__stack_pop T || _zsh_highlight_main__stack_pop Q; then
|
|
856
|
+
# Missing closing square bracket(s)
|
|
857
|
+
style=unknown-token
|
|
858
|
+
elif $in_array_assignment; then
|
|
859
|
+
case $arg in
|
|
860
|
+
# Literal newlines are just fine.
|
|
861
|
+
($'\n') style=commandseparator;;
|
|
862
|
+
# Semicolons are parsed the same way as literal newlines. Nevertheless,
|
|
863
|
+
# highlight them as errors since they're probably unintended. Compare
|
|
864
|
+
# issue #691.
|
|
865
|
+
(';') style=unknown-token;;
|
|
866
|
+
# Other command separators aren't allowed.
|
|
867
|
+
(*) style=unknown-token;;
|
|
868
|
+
esac
|
|
869
|
+
elif [[ $this_word == *':regular:'* ]]; then
|
|
870
|
+
style=commandseparator
|
|
871
|
+
elif [[ $this_word == *':start:'* ]] && [[ $arg == $'\n' ]]; then
|
|
872
|
+
style=commandseparator
|
|
873
|
+
elif [[ $this_word == *':start:'* ]] && [[ $arg == ';' ]] && (( $#in_alias )); then
|
|
874
|
+
style=commandseparator
|
|
875
|
+
else
|
|
876
|
+
# Empty commands (semicolon follows nothing) are valid syntax.
|
|
877
|
+
# However, in interactive use they are likely to be erroneous;
|
|
878
|
+
# therefore, we highlight them as errors.
|
|
879
|
+
#
|
|
880
|
+
# Alias definitions are exempted from this check to allow multiline aliases
|
|
881
|
+
# with explicit (redundant) semicolons: «alias foo=$'bar;\nbaz'» (issue #677).
|
|
882
|
+
#
|
|
883
|
+
# See also #691 about possibly changing the style used here.
|
|
884
|
+
style=unknown-token
|
|
885
|
+
fi
|
|
886
|
+
|
|
887
|
+
# Second, determine the style of next_word.
|
|
888
|
+
if [[ $arg == $'\n' ]] && $in_array_assignment; then
|
|
889
|
+
# literal newline inside an array assignment
|
|
890
|
+
next_word=':regular:'
|
|
891
|
+
elif [[ $arg == ';' ]] && $in_array_assignment; then
|
|
892
|
+
# literal semicolon inside an array assignment
|
|
893
|
+
next_word=':regular:'
|
|
894
|
+
else
|
|
895
|
+
next_word=':start:'
|
|
896
|
+
highlight_glob=true
|
|
897
|
+
saw_assignment=false
|
|
898
|
+
(){
|
|
899
|
+
local alias_name
|
|
900
|
+
for alias_name in ${(k)seen_alias[(R)<$#in_alias->]}; do
|
|
901
|
+
# We can't unset keys that contain special characters (] \ and some others).
|
|
902
|
+
# More details: https://www.zsh.org/workers/43269
|
|
903
|
+
seen_alias=("${(@kv)seen_alias[(I)^$alias_name]}")
|
|
904
|
+
done
|
|
905
|
+
}
|
|
906
|
+
if [[ $arg != '|' && $arg != '|&' ]]; then
|
|
907
|
+
next_word+=':start_of_pipeline:'
|
|
908
|
+
fi
|
|
909
|
+
fi
|
|
910
|
+
|
|
911
|
+
elif ! (( in_redirection)) && [[ $this_word == *':always:'* && $arg == 'always' ]]; then
|
|
912
|
+
# try-always construct
|
|
913
|
+
style=reserved-word # de facto a reserved word, although not de jure
|
|
914
|
+
highlight_glob=true
|
|
915
|
+
saw_assignment=false
|
|
916
|
+
next_word=':start::start_of_pipeline:' # only left brace is allowed, apparently
|
|
917
|
+
elif ! (( in_redirection)) && [[ $this_word == *':start:'* ]]; then # $arg is the command word
|
|
918
|
+
if (( ${+precommand_options[$arg]} )) && _zsh_highlight_main__is_runnable $arg; then
|
|
919
|
+
style=precommand
|
|
920
|
+
() {
|
|
921
|
+
set -- "${(@s.:.)precommand_options[$arg]}"
|
|
922
|
+
flags_with_argument=$1
|
|
923
|
+
flags_sans_argument=$2
|
|
924
|
+
flags_solo=$3
|
|
925
|
+
}
|
|
926
|
+
next_word=${next_word//:regular:/}
|
|
927
|
+
next_word+=':sudo_opt:'
|
|
928
|
+
next_word+=':start:'
|
|
929
|
+
if [[ $arg == 'exec' || $arg == 'env' ]]; then
|
|
930
|
+
# To allow "exec 2>&1;" and "env | grep" where there's no command word
|
|
931
|
+
next_word+=':regular:'
|
|
932
|
+
fi
|
|
933
|
+
else
|
|
934
|
+
case $res in
|
|
935
|
+
(reserved) # reserved word
|
|
936
|
+
style=reserved-word
|
|
937
|
+
# Match braces and handle special cases.
|
|
938
|
+
case $arg in
|
|
939
|
+
(time|nocorrect)
|
|
940
|
+
next_word=${next_word//:regular:/}
|
|
941
|
+
next_word+=':start:'
|
|
942
|
+
;;
|
|
943
|
+
($'\x7b')
|
|
944
|
+
braces_stack='Y'"$braces_stack"
|
|
945
|
+
;;
|
|
946
|
+
($'\x7d')
|
|
947
|
+
# We're at command word, so no need to check $right_brace_is_recognised_everywhere
|
|
948
|
+
_zsh_highlight_main__stack_pop 'Y' reserved-word
|
|
949
|
+
if [[ $style == reserved-word ]]; then
|
|
950
|
+
next_word+=':always:'
|
|
951
|
+
fi
|
|
952
|
+
;;
|
|
953
|
+
($'\x5b\x5b')
|
|
954
|
+
braces_stack='T'"$braces_stack"
|
|
955
|
+
;;
|
|
956
|
+
('do')
|
|
957
|
+
braces_stack='D'"$braces_stack"
|
|
958
|
+
;;
|
|
959
|
+
('done')
|
|
960
|
+
_zsh_highlight_main__stack_pop 'D' reserved-word
|
|
961
|
+
;;
|
|
962
|
+
('if')
|
|
963
|
+
braces_stack=':?'"$braces_stack"
|
|
964
|
+
;;
|
|
965
|
+
('then')
|
|
966
|
+
_zsh_highlight_main__stack_pop ':' reserved-word
|
|
967
|
+
;;
|
|
968
|
+
('elif')
|
|
969
|
+
if [[ ${braces_stack[1]} == '?' ]]; then
|
|
970
|
+
braces_stack=':'"$braces_stack"
|
|
971
|
+
else
|
|
972
|
+
style=unknown-token
|
|
973
|
+
fi
|
|
974
|
+
;;
|
|
975
|
+
('else')
|
|
976
|
+
if [[ ${braces_stack[1]} == '?' ]]; then
|
|
977
|
+
:
|
|
978
|
+
else
|
|
979
|
+
style=unknown-token
|
|
980
|
+
fi
|
|
981
|
+
;;
|
|
982
|
+
('fi')
|
|
983
|
+
_zsh_highlight_main__stack_pop '?'
|
|
984
|
+
;;
|
|
985
|
+
('foreach')
|
|
986
|
+
braces_stack='$'"$braces_stack"
|
|
987
|
+
;;
|
|
988
|
+
('end')
|
|
989
|
+
_zsh_highlight_main__stack_pop '$' reserved-word
|
|
990
|
+
;;
|
|
991
|
+
('repeat')
|
|
992
|
+
# skip the repeat-count word
|
|
993
|
+
in_redirection=2
|
|
994
|
+
# The redirection mechanism assumes $this_word describes the word
|
|
995
|
+
# following the redirection. Make it so.
|
|
996
|
+
#
|
|
997
|
+
# That word can be a command word with shortloops (`repeat 2 ls`)
|
|
998
|
+
# or a command separator (`repeat 2; ls` or `repeat 2; do ls; done`).
|
|
999
|
+
#
|
|
1000
|
+
# The repeat-count word will be handled like a redirection target.
|
|
1001
|
+
this_word=':start::regular:'
|
|
1002
|
+
;;
|
|
1003
|
+
('!')
|
|
1004
|
+
if [[ $this_word != *':start_of_pipeline:'* ]]; then
|
|
1005
|
+
style=unknown-token
|
|
1006
|
+
else
|
|
1007
|
+
# '!' reserved word at start of pipeline; style already set above
|
|
1008
|
+
fi
|
|
1009
|
+
;;
|
|
1010
|
+
esac
|
|
1011
|
+
if $saw_assignment && [[ $style != unknown-token ]]; then
|
|
1012
|
+
style=unknown-token
|
|
1013
|
+
fi
|
|
1014
|
+
;;
|
|
1015
|
+
('suffix alias')
|
|
1016
|
+
style=suffix-alias
|
|
1017
|
+
;;
|
|
1018
|
+
('global alias')
|
|
1019
|
+
style=global-alias
|
|
1020
|
+
;;
|
|
1021
|
+
(alias) :;;
|
|
1022
|
+
(builtin) style=builtin
|
|
1023
|
+
[[ $arg == $'\x5b' ]] && braces_stack='Q'"$braces_stack"
|
|
1024
|
+
;;
|
|
1025
|
+
(function) style=function;;
|
|
1026
|
+
(command) style=command;;
|
|
1027
|
+
(hashed) style=hashed-command;;
|
|
1028
|
+
(none) if (( ! in_param )) && _zsh_highlight_main_highlighter_check_assign; then
|
|
1029
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos assign
|
|
1030
|
+
local i=$(( arg[(i)=] + 1 ))
|
|
1031
|
+
saw_assignment=true
|
|
1032
|
+
if [[ $arg[i] == '(' ]]; then
|
|
1033
|
+
in_array_assignment=true
|
|
1034
|
+
_zsh_highlight_main_add_region_highlight start_pos+i-1 start_pos+i reserved-word
|
|
1035
|
+
else
|
|
1036
|
+
# assignment to a scalar parameter.
|
|
1037
|
+
# (For array assignments, the command doesn't start until the ")" token.)
|
|
1038
|
+
#
|
|
1039
|
+
# Discard :start_of_pipeline:, if present, as '!' is not valid
|
|
1040
|
+
# after assignments.
|
|
1041
|
+
next_word+=':start:'
|
|
1042
|
+
if (( i <= $#arg )); then
|
|
1043
|
+
() {
|
|
1044
|
+
local highlight_glob=false
|
|
1045
|
+
[[ $zsyh_user_options[globassign] == on ]] && highlight_glob=true
|
|
1046
|
+
_zsh_highlight_main_highlighter_highlight_argument $i
|
|
1047
|
+
}
|
|
1048
|
+
fi
|
|
1049
|
+
fi
|
|
1050
|
+
continue
|
|
1051
|
+
elif (( ! in_param )) &&
|
|
1052
|
+
[[ $arg[0,1] = $histchars[0,1] ]] && (( $#arg[0,2] == 2 )); then
|
|
1053
|
+
style=history-expansion
|
|
1054
|
+
elif (( ! in_param )) &&
|
|
1055
|
+
[[ $arg[0,1] == $histchars[2,2] ]]; then
|
|
1056
|
+
style=history-expansion
|
|
1057
|
+
elif (( ! in_param )) &&
|
|
1058
|
+
! $saw_assignment &&
|
|
1059
|
+
[[ $arg[1,2] == '((' ]]; then
|
|
1060
|
+
# Arithmetic evaluation.
|
|
1061
|
+
#
|
|
1062
|
+
# Note: prior to zsh-5.1.1-52-g4bed2cf (workers/36669), the ${(z)...}
|
|
1063
|
+
# splitter would only output the '((' token if the matching '))' had
|
|
1064
|
+
# been typed. Therefore, under those versions of zsh, BUFFER="(( 42"
|
|
1065
|
+
# would be highlighted as an error until the matching "))" are typed.
|
|
1066
|
+
#
|
|
1067
|
+
# We highlight just the opening parentheses, as a reserved word; this
|
|
1068
|
+
# is how [[ ... ]] is highlighted, too.
|
|
1069
|
+
_zsh_highlight_main_add_region_highlight $start_pos $((start_pos + 2)) reserved-word
|
|
1070
|
+
if [[ $arg[-2,-1] == '))' ]]; then
|
|
1071
|
+
_zsh_highlight_main_add_region_highlight $((end_pos - 2)) $end_pos reserved-word
|
|
1072
|
+
fi
|
|
1073
|
+
continue
|
|
1074
|
+
elif (( ! in_param )) &&
|
|
1075
|
+
[[ $arg == '()' ]]; then
|
|
1076
|
+
# anonymous function
|
|
1077
|
+
style=reserved-word
|
|
1078
|
+
elif (( ! in_param )) &&
|
|
1079
|
+
! $saw_assignment &&
|
|
1080
|
+
[[ $arg == $'\x28' ]]; then
|
|
1081
|
+
# subshell
|
|
1082
|
+
style=reserved-word
|
|
1083
|
+
braces_stack='R'"$braces_stack"
|
|
1084
|
+
elif (( ! in_param )) &&
|
|
1085
|
+
[[ $arg == $'\x29' ]]; then
|
|
1086
|
+
# end of subshell or command substitution
|
|
1087
|
+
if _zsh_highlight_main__stack_pop 'S'; then
|
|
1088
|
+
REPLY=$start_pos
|
|
1089
|
+
reply=($list_highlights)
|
|
1090
|
+
return 0
|
|
1091
|
+
fi
|
|
1092
|
+
_zsh_highlight_main__stack_pop 'R' reserved-word
|
|
1093
|
+
else
|
|
1094
|
+
if _zsh_highlight_main_highlighter_check_path $arg 1; then
|
|
1095
|
+
style=$REPLY
|
|
1096
|
+
else
|
|
1097
|
+
style=unknown-token
|
|
1098
|
+
fi
|
|
1099
|
+
fi
|
|
1100
|
+
;;
|
|
1101
|
+
(*) _zsh_highlight_main_add_region_highlight $start_pos $end_pos arg0_$res
|
|
1102
|
+
continue
|
|
1103
|
+
;;
|
|
1104
|
+
esac
|
|
1105
|
+
fi
|
|
1106
|
+
if [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW:#"$arg"} ]]; then
|
|
1107
|
+
next_word=':start::start_of_pipeline:'
|
|
1108
|
+
fi
|
|
1109
|
+
elif _zsh_highlight_main__is_global_alias "$arg"; then # $arg is a global alias that isn't in command position
|
|
1110
|
+
style=global-alias
|
|
1111
|
+
else # $arg is a non-command word
|
|
1112
|
+
case $arg in
|
|
1113
|
+
($'\x29')
|
|
1114
|
+
# subshell or end of array assignment
|
|
1115
|
+
if $in_array_assignment; then
|
|
1116
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos assign
|
|
1117
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos reserved-word
|
|
1118
|
+
in_array_assignment=false
|
|
1119
|
+
next_word+=':start:'
|
|
1120
|
+
continue
|
|
1121
|
+
elif (( in_redirection )); then
|
|
1122
|
+
style=unknown-token
|
|
1123
|
+
else
|
|
1124
|
+
if _zsh_highlight_main__stack_pop 'S'; then
|
|
1125
|
+
REPLY=$start_pos
|
|
1126
|
+
reply=($list_highlights)
|
|
1127
|
+
return 0
|
|
1128
|
+
fi
|
|
1129
|
+
_zsh_highlight_main__stack_pop 'R' reserved-word
|
|
1130
|
+
fi
|
|
1131
|
+
;;
|
|
1132
|
+
($'\x28\x29')
|
|
1133
|
+
# possibly a function definition
|
|
1134
|
+
if (( in_redirection )) || $in_array_assignment; then
|
|
1135
|
+
style=unknown-token
|
|
1136
|
+
else
|
|
1137
|
+
if [[ $zsyh_user_options[multifuncdef] == on ]] || false # TODO: or if the previous word was a command word
|
|
1138
|
+
then
|
|
1139
|
+
next_word+=':start::start_of_pipeline:'
|
|
1140
|
+
fi
|
|
1141
|
+
style=reserved-word
|
|
1142
|
+
fi
|
|
1143
|
+
;;
|
|
1144
|
+
(*) if false; then
|
|
1145
|
+
elif [[ $arg = $'\x7d' ]] && $right_brace_is_recognised_everywhere; then
|
|
1146
|
+
# Parsing rule: {
|
|
1147
|
+
#
|
|
1148
|
+
# Additionally, `tt(})' is recognized in any position if neither the
|
|
1149
|
+
# tt(IGNORE_BRACES) option nor the tt(IGNORE_CLOSE_BRACES) option is set.
|
|
1150
|
+
if (( in_redirection )) || $in_array_assignment; then
|
|
1151
|
+
style=unknown-token
|
|
1152
|
+
else
|
|
1153
|
+
_zsh_highlight_main__stack_pop 'Y' reserved-word
|
|
1154
|
+
if [[ $style == reserved-word ]]; then
|
|
1155
|
+
next_word+=':always:'
|
|
1156
|
+
fi
|
|
1157
|
+
fi
|
|
1158
|
+
elif [[ $arg[0,1] = $histchars[0,1] ]] && (( $#arg[0,2] == 2 )); then
|
|
1159
|
+
style=history-expansion
|
|
1160
|
+
elif [[ $arg == $'\x5d\x5d' ]] && _zsh_highlight_main__stack_pop 'T' reserved-word; then
|
|
1161
|
+
:
|
|
1162
|
+
elif [[ $arg == $'\x5d' ]] && _zsh_highlight_main__stack_pop 'Q' builtin; then
|
|
1163
|
+
:
|
|
1164
|
+
else
|
|
1165
|
+
_zsh_highlight_main_highlighter_highlight_argument 1 $(( 1 != in_redirection ))
|
|
1166
|
+
continue
|
|
1167
|
+
fi
|
|
1168
|
+
;;
|
|
1169
|
+
esac
|
|
1170
|
+
fi
|
|
1171
|
+
_zsh_highlight_main_add_region_highlight $start_pos $end_pos $style
|
|
1172
|
+
done
|
|
1173
|
+
(( $#in_alias )) && in_alias=() _zsh_highlight_main_add_region_highlight $start_pos $end_pos $alias_style
|
|
1174
|
+
(( in_param == 1 )) && in_param=0 _zsh_highlight_main_add_region_highlight $start_pos $end_pos $param_style
|
|
1175
|
+
[[ "$proc_buf" = (#b)(#s)(([[:space:]]|\\$'\n')#) ]]
|
|
1176
|
+
REPLY=$(( end_pos + ${#match[1]} - 1 ))
|
|
1177
|
+
reply=($list_highlights)
|
|
1178
|
+
return $(( $#braces_stack > 0 ))
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
# Check if $arg is variable assignment
|
|
1182
|
+
_zsh_highlight_main_highlighter_check_assign()
|
|
1183
|
+
{
|
|
1184
|
+
setopt localoptions extended_glob
|
|
1185
|
+
[[ $arg == [[:alpha:]_][[:alnum:]_]#(|\[*\])(|[+])=* ]] ||
|
|
1186
|
+
[[ $arg == [0-9]##(|[+])=* ]]
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
_zsh_highlight_main_highlighter_highlight_path_separators()
|
|
1190
|
+
{
|
|
1191
|
+
local pos style_pathsep
|
|
1192
|
+
style_pathsep=$1_pathseparator
|
|
1193
|
+
reply=()
|
|
1194
|
+
[[ -z "$ZSH_HIGHLIGHT_STYLES[$style_pathsep]" || "$ZSH_HIGHLIGHT_STYLES[$1]" == "$ZSH_HIGHLIGHT_STYLES[$style_pathsep]" ]] && return 0
|
|
1195
|
+
for (( pos = start_pos; $pos <= end_pos; pos++ )) ; do
|
|
1196
|
+
if [[ $BUFFER[pos] == / ]]; then
|
|
1197
|
+
reply+=($((pos - 1)) $pos $style_pathsep)
|
|
1198
|
+
fi
|
|
1199
|
+
done
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
# Check if $1 is a path.
|
|
1203
|
+
# If yes, return 0 and in $REPLY the style to use.
|
|
1204
|
+
# Else, return non-zero (and the contents of $REPLY is undefined).
|
|
1205
|
+
#
|
|
1206
|
+
# $2 should be non-zero iff we're in command position.
|
|
1207
|
+
_zsh_highlight_main_highlighter_check_path()
|
|
1208
|
+
{
|
|
1209
|
+
_zsh_highlight_main_highlighter_expand_path "$1"
|
|
1210
|
+
local expanded_path="$REPLY" tmp_path
|
|
1211
|
+
integer in_command_position=$2
|
|
1212
|
+
|
|
1213
|
+
if [[ $zsyh_user_options[autocd] == on ]]; then
|
|
1214
|
+
integer autocd=1
|
|
1215
|
+
else
|
|
1216
|
+
integer autocd=0
|
|
1217
|
+
fi
|
|
1218
|
+
|
|
1219
|
+
if (( in_command_position )); then
|
|
1220
|
+
# ### Currently, this value is never returned: either it's overwritten
|
|
1221
|
+
# ### below, or the return code is non-zero
|
|
1222
|
+
REPLY=arg0
|
|
1223
|
+
else
|
|
1224
|
+
REPLY=path
|
|
1225
|
+
fi
|
|
1226
|
+
|
|
1227
|
+
if [[ ${1[1]} == '=' && $1 == ??* && ${1[2]} != $'\x28' && $zsyh_user_options[equals] == 'on' && $expanded_path[1] != '/' ]]; then
|
|
1228
|
+
REPLY=unknown-token # will error out if executed
|
|
1229
|
+
return 0
|
|
1230
|
+
fi
|
|
1231
|
+
|
|
1232
|
+
[[ -z $expanded_path ]] && return 1
|
|
1233
|
+
|
|
1234
|
+
# Check if this is a blacklisted path
|
|
1235
|
+
if [[ $expanded_path[1] == / ]]; then
|
|
1236
|
+
tmp_path=$expanded_path
|
|
1237
|
+
else
|
|
1238
|
+
tmp_path=$PWD/$expanded_path
|
|
1239
|
+
fi
|
|
1240
|
+
tmp_path=$tmp_path:a
|
|
1241
|
+
|
|
1242
|
+
while [[ $tmp_path != / ]]; do
|
|
1243
|
+
[[ -n ${(M)ZSH_HIGHLIGHT_DIRS_BLACKLIST:#$tmp_path} ]] && return 1
|
|
1244
|
+
tmp_path=$tmp_path:h
|
|
1245
|
+
done
|
|
1246
|
+
|
|
1247
|
+
if (( in_command_position )); then
|
|
1248
|
+
if [[ -x $expanded_path ]]; then
|
|
1249
|
+
if (( autocd )); then
|
|
1250
|
+
if [[ -d $expanded_path ]]; then
|
|
1251
|
+
REPLY=autodirectory
|
|
1252
|
+
fi
|
|
1253
|
+
return 0
|
|
1254
|
+
elif [[ ! -d $expanded_path ]]; then
|
|
1255
|
+
# ### This seems unreachable for the current callers
|
|
1256
|
+
return 0
|
|
1257
|
+
fi
|
|
1258
|
+
fi
|
|
1259
|
+
else
|
|
1260
|
+
if [[ -L $expanded_path || -e $expanded_path ]]; then
|
|
1261
|
+
return 0
|
|
1262
|
+
fi
|
|
1263
|
+
fi
|
|
1264
|
+
|
|
1265
|
+
# Search the path in CDPATH
|
|
1266
|
+
if [[ $expanded_path != /* ]] && (( autocd || ! in_command_position )); then
|
|
1267
|
+
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
|
|
1268
|
+
local cdpath_dir
|
|
1269
|
+
for cdpath_dir in $cdpath ; do
|
|
1270
|
+
if [[ -d "$cdpath_dir/$expanded_path" && -x "$cdpath_dir/$expanded_path" ]]; then
|
|
1271
|
+
if (( in_command_position && autocd )); then
|
|
1272
|
+
REPLY=autodirectory
|
|
1273
|
+
fi
|
|
1274
|
+
return 0
|
|
1275
|
+
fi
|
|
1276
|
+
done
|
|
1277
|
+
fi
|
|
1278
|
+
|
|
1279
|
+
# If dirname($1) doesn't exist, neither does $1.
|
|
1280
|
+
[[ ! -d ${expanded_path:h} ]] && return 1
|
|
1281
|
+
|
|
1282
|
+
# If this word ends the buffer, check if it's the prefix of a valid path.
|
|
1283
|
+
if (( has_end && (len == end_pos) )) &&
|
|
1284
|
+
(( ! $#in_alias )) &&
|
|
1285
|
+
[[ $WIDGET != zle-line-finish ]]; then
|
|
1286
|
+
# TODO: When we've dropped support for pre-5.0.6 zsh, use the *(Y1) glob qualifier here.
|
|
1287
|
+
local -a tmp
|
|
1288
|
+
if (( in_command_position )); then
|
|
1289
|
+
# We include directories even when autocd is enabled, because those
|
|
1290
|
+
# directories might contain executable files: e.g., BUFFER="/bi" en route
|
|
1291
|
+
# to typing "/bin/sh".
|
|
1292
|
+
tmp=( ${expanded_path}*(N-*,N-/) )
|
|
1293
|
+
else
|
|
1294
|
+
tmp=( ${expanded_path}*(N) )
|
|
1295
|
+
fi
|
|
1296
|
+
(( ${+tmp[1]} )) && REPLY=path_prefix && return 0
|
|
1297
|
+
fi
|
|
1298
|
+
|
|
1299
|
+
# It's not a path.
|
|
1300
|
+
return 1
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
# Highlight an argument and possibly special chars in quotes starting at $1 in $arg
|
|
1304
|
+
# This command will at least highlight $1 to end_pos with the default style
|
|
1305
|
+
# If $2 is set to 0, the argument cannot be highlighted as an option.
|
|
1306
|
+
#
|
|
1307
|
+
# This function currently assumes it's never called for the command word.
|
|
1308
|
+
_zsh_highlight_main_highlighter_highlight_argument()
|
|
1309
|
+
{
|
|
1310
|
+
local base_style=default i=$1 option_eligible=${2:-1} path_eligible=1 ret start style
|
|
1311
|
+
local -a highlights
|
|
1312
|
+
|
|
1313
|
+
local -a match mbegin mend
|
|
1314
|
+
local MATCH; integer MBEGIN MEND
|
|
1315
|
+
|
|
1316
|
+
case "$arg[i]" in
|
|
1317
|
+
'%')
|
|
1318
|
+
if [[ $arg[i+1] == '?' ]]; then
|
|
1319
|
+
(( i += 2 ))
|
|
1320
|
+
fi
|
|
1321
|
+
;;
|
|
1322
|
+
'-')
|
|
1323
|
+
if (( option_eligible )); then
|
|
1324
|
+
if [[ $arg[i+1] == - ]]; then
|
|
1325
|
+
base_style=double-hyphen-option
|
|
1326
|
+
else
|
|
1327
|
+
base_style=single-hyphen-option
|
|
1328
|
+
fi
|
|
1329
|
+
path_eligible=0
|
|
1330
|
+
fi
|
|
1331
|
+
;;
|
|
1332
|
+
'=')
|
|
1333
|
+
if [[ $arg[i+1] == $'\x28' ]]; then
|
|
1334
|
+
(( i += 2 ))
|
|
1335
|
+
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1]
|
|
1336
|
+
ret=$?
|
|
1337
|
+
(( i += REPLY ))
|
|
1338
|
+
highlights+=(
|
|
1339
|
+
$(( start_pos + $1 - 1 )) $(( start_pos + i )) process-substitution
|
|
1340
|
+
$(( start_pos + $1 - 1 )) $(( start_pos + $1 + 1 )) process-substitution-delimiter
|
|
1341
|
+
$reply
|
|
1342
|
+
)
|
|
1343
|
+
if (( ret == 0 )); then
|
|
1344
|
+
highlights+=($(( start_pos + i - 1 )) $(( start_pos + i )) process-substitution-delimiter)
|
|
1345
|
+
fi
|
|
1346
|
+
fi
|
|
1347
|
+
esac
|
|
1348
|
+
|
|
1349
|
+
# This loop is a hot path. Keep it fast!
|
|
1350
|
+
(( --i ))
|
|
1351
|
+
while (( ++i <= $#arg )); do
|
|
1352
|
+
i=${arg[(ib.i.)[\\\'\"\`\$\<\>\*\?]]}
|
|
1353
|
+
case "$arg[$i]" in
|
|
1354
|
+
"") break;;
|
|
1355
|
+
"\\") (( i += 1 )); continue;;
|
|
1356
|
+
"'")
|
|
1357
|
+
_zsh_highlight_main_highlighter_highlight_single_quote $i
|
|
1358
|
+
(( i = REPLY ))
|
|
1359
|
+
highlights+=($reply)
|
|
1360
|
+
;;
|
|
1361
|
+
'"')
|
|
1362
|
+
_zsh_highlight_main_highlighter_highlight_double_quote $i
|
|
1363
|
+
(( i = REPLY ))
|
|
1364
|
+
highlights+=($reply)
|
|
1365
|
+
;;
|
|
1366
|
+
'`')
|
|
1367
|
+
_zsh_highlight_main_highlighter_highlight_backtick $i
|
|
1368
|
+
(( i = REPLY ))
|
|
1369
|
+
highlights+=($reply)
|
|
1370
|
+
;;
|
|
1371
|
+
'$')
|
|
1372
|
+
if [[ $arg[i+1] != "'" ]]; then
|
|
1373
|
+
path_eligible=0
|
|
1374
|
+
fi
|
|
1375
|
+
if [[ $arg[i+1] == "'" ]]; then
|
|
1376
|
+
_zsh_highlight_main_highlighter_highlight_dollar_quote $i
|
|
1377
|
+
(( i = REPLY ))
|
|
1378
|
+
highlights+=($reply)
|
|
1379
|
+
continue
|
|
1380
|
+
elif [[ $arg[i+1] == $'\x28' ]]; then
|
|
1381
|
+
if [[ $arg[i+2] == $'\x28' ]] && _zsh_highlight_main_highlighter_highlight_arithmetic $i; then
|
|
1382
|
+
# Arithmetic expansion
|
|
1383
|
+
(( i = REPLY ))
|
|
1384
|
+
highlights+=($reply)
|
|
1385
|
+
continue
|
|
1386
|
+
fi
|
|
1387
|
+
start=$i
|
|
1388
|
+
(( i += 2 ))
|
|
1389
|
+
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1]
|
|
1390
|
+
ret=$?
|
|
1391
|
+
(( i += REPLY ))
|
|
1392
|
+
highlights+=(
|
|
1393
|
+
$(( start_pos + start - 1)) $(( start_pos + i )) command-substitution-unquoted
|
|
1394
|
+
$(( start_pos + start - 1)) $(( start_pos + start + 1)) command-substitution-delimiter-unquoted
|
|
1395
|
+
$reply
|
|
1396
|
+
)
|
|
1397
|
+
if (( ret == 0 )); then
|
|
1398
|
+
highlights+=($(( start_pos + i - 1)) $(( start_pos + i )) command-substitution-delimiter-unquoted)
|
|
1399
|
+
fi
|
|
1400
|
+
continue
|
|
1401
|
+
fi
|
|
1402
|
+
while [[ $arg[i+1] == [=~#+'^'] ]]; do
|
|
1403
|
+
(( i += 1 ))
|
|
1404
|
+
done
|
|
1405
|
+
if [[ $arg[i+1] == [*@#?$!-] ]]; then
|
|
1406
|
+
(( i += 1 ))
|
|
1407
|
+
fi;;
|
|
1408
|
+
[\<\>])
|
|
1409
|
+
if [[ $arg[i+1] == $'\x28' ]]; then # \x28 = open paren
|
|
1410
|
+
start=$i
|
|
1411
|
+
(( i += 2 ))
|
|
1412
|
+
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1]
|
|
1413
|
+
ret=$?
|
|
1414
|
+
(( i += REPLY ))
|
|
1415
|
+
highlights+=(
|
|
1416
|
+
$(( start_pos + start - 1)) $(( start_pos + i )) process-substitution
|
|
1417
|
+
$(( start_pos + start - 1)) $(( start_pos + start + 1 )) process-substitution-delimiter
|
|
1418
|
+
$reply
|
|
1419
|
+
)
|
|
1420
|
+
if (( ret == 0 )); then
|
|
1421
|
+
highlights+=($(( start_pos + i - 1)) $(( start_pos + i )) process-substitution-delimiter)
|
|
1422
|
+
fi
|
|
1423
|
+
continue
|
|
1424
|
+
fi
|
|
1425
|
+
;|
|
|
1426
|
+
*)
|
|
1427
|
+
if $highlight_glob &&
|
|
1428
|
+
[[ $zsyh_user_options[multios] == on || $in_redirection -eq 0 ]] &&
|
|
1429
|
+
[[ ${arg[$i]} =~ ^[*?] || ${arg:$i-1} =~ ^\<[0-9]*-[0-9]*\> ]]; then
|
|
1430
|
+
highlights+=($(( start_pos + i - 1 )) $(( start_pos + i + $#MATCH - 1)) globbing)
|
|
1431
|
+
(( i += $#MATCH - 1 ))
|
|
1432
|
+
path_eligible=0
|
|
1433
|
+
else
|
|
1434
|
+
continue
|
|
1435
|
+
fi
|
|
1436
|
+
;;
|
|
1437
|
+
esac
|
|
1438
|
+
done
|
|
1439
|
+
|
|
1440
|
+
if (( path_eligible )); then
|
|
1441
|
+
if (( in_redirection )) && [[ $last_arg == *['<>']['&'] && $arg[$1,-1] == (<0->|p|-) ]]; then
|
|
1442
|
+
if [[ $arg[$1,-1] == (p|-) ]]; then
|
|
1443
|
+
base_style=redirection
|
|
1444
|
+
else
|
|
1445
|
+
base_style=numeric-fd
|
|
1446
|
+
fi
|
|
1447
|
+
# This function is currently never called for the command word, so $2 is hard-coded as 0.
|
|
1448
|
+
elif _zsh_highlight_main_highlighter_check_path $arg[$1,-1] 0; then
|
|
1449
|
+
base_style=$REPLY
|
|
1450
|
+
_zsh_highlight_main_highlighter_highlight_path_separators $base_style
|
|
1451
|
+
highlights+=($reply)
|
|
1452
|
+
fi
|
|
1453
|
+
fi
|
|
1454
|
+
|
|
1455
|
+
highlights=($(( start_pos + $1 - 1 )) $end_pos $base_style $highlights)
|
|
1456
|
+
_zsh_highlight_main_add_many_region_highlights $highlights
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
# Quote Helper Functions
|
|
1460
|
+
#
|
|
1461
|
+
# $arg is expected to be set to the current argument
|
|
1462
|
+
# $start_pos is expected to be set to the start of $arg in $BUFFER
|
|
1463
|
+
# $1 is the index in $arg which starts the quote
|
|
1464
|
+
# $REPLY is returned as the end of quote index in $arg
|
|
1465
|
+
# $reply is returned as an array of region_highlight additions
|
|
1466
|
+
|
|
1467
|
+
# Highlight single-quoted strings
|
|
1468
|
+
_zsh_highlight_main_highlighter_highlight_single_quote()
|
|
1469
|
+
{
|
|
1470
|
+
local arg1=$1 i q=\' style
|
|
1471
|
+
i=$arg[(ib:arg1+1:)$q]
|
|
1472
|
+
reply=()
|
|
1473
|
+
|
|
1474
|
+
if [[ $zsyh_user_options[rcquotes] == on ]]; then
|
|
1475
|
+
while [[ $arg[i+1] == "'" ]]; do
|
|
1476
|
+
reply+=($(( start_pos + i - 1 )) $(( start_pos + i + 1 )) rc-quote)
|
|
1477
|
+
(( i++ ))
|
|
1478
|
+
i=$arg[(ib:i+1:)$q]
|
|
1479
|
+
done
|
|
1480
|
+
fi
|
|
1481
|
+
|
|
1482
|
+
if [[ $arg[i] == "'" ]]; then
|
|
1483
|
+
style=single-quoted-argument
|
|
1484
|
+
else
|
|
1485
|
+
# If unclosed, i points past the end
|
|
1486
|
+
(( i-- ))
|
|
1487
|
+
style=single-quoted-argument-unclosed
|
|
1488
|
+
fi
|
|
1489
|
+
reply=($(( start_pos + arg1 - 1 )) $(( start_pos + i )) $style $reply)
|
|
1490
|
+
REPLY=$i
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
# Highlight special chars inside double-quoted strings
|
|
1494
|
+
_zsh_highlight_main_highlighter_highlight_double_quote()
|
|
1495
|
+
{
|
|
1496
|
+
local -a breaks match mbegin mend saved_reply
|
|
1497
|
+
local MATCH; integer last_break=$(( start_pos + $1 - 1 )) MBEGIN MEND
|
|
1498
|
+
local i j k ret style
|
|
1499
|
+
reply=()
|
|
1500
|
+
|
|
1501
|
+
for (( i = $1 + 1 ; i <= $#arg ; i += 1 )) ; do
|
|
1502
|
+
(( j = i + start_pos - 1 ))
|
|
1503
|
+
(( k = j + 1 ))
|
|
1504
|
+
case "$arg[$i]" in
|
|
1505
|
+
('"') break;;
|
|
1506
|
+
('`') saved_reply=($reply)
|
|
1507
|
+
_zsh_highlight_main_highlighter_highlight_backtick $i
|
|
1508
|
+
(( i = REPLY ))
|
|
1509
|
+
reply=($saved_reply $reply)
|
|
1510
|
+
continue
|
|
1511
|
+
;;
|
|
1512
|
+
('$') style=dollar-double-quoted-argument
|
|
1513
|
+
# Look for an alphanumeric parameter name.
|
|
1514
|
+
if [[ ${arg:$i} =~ ^([A-Za-z_][A-Za-z0-9_]*|[0-9]+) ]] ; then
|
|
1515
|
+
(( k += $#MATCH )) # highlight the parameter name
|
|
1516
|
+
(( i += $#MATCH )) # skip past it
|
|
1517
|
+
elif [[ ${arg:$i} =~ ^[{]([A-Za-z_][A-Za-z0-9_]*|[0-9]+)[}] ]] ; then
|
|
1518
|
+
(( k += $#MATCH )) # highlight the parameter name and braces
|
|
1519
|
+
(( i += $#MATCH )) # skip past it
|
|
1520
|
+
elif [[ $arg[i+1] == '$' ]]; then
|
|
1521
|
+
# $$ - pid
|
|
1522
|
+
(( k += 1 )) # highlight both dollar signs
|
|
1523
|
+
(( i += 1 )) # don't consider the second one as introducing another parameter expansion
|
|
1524
|
+
elif [[ $arg[i+1] == [-#*@?] ]]; then
|
|
1525
|
+
# $#, $*, $@, $?, $- - like $$ above
|
|
1526
|
+
(( k += 1 )) # highlight both dollar signs
|
|
1527
|
+
(( i += 1 )) # don't consider the second one as introducing another parameter expansion
|
|
1528
|
+
elif [[ $arg[i+1] == $'\x28' ]]; then
|
|
1529
|
+
saved_reply=($reply)
|
|
1530
|
+
if [[ $arg[i+2] == $'\x28' ]] && _zsh_highlight_main_highlighter_highlight_arithmetic $i; then
|
|
1531
|
+
# Arithmetic expansion
|
|
1532
|
+
(( i = REPLY ))
|
|
1533
|
+
reply=($saved_reply $reply)
|
|
1534
|
+
continue
|
|
1535
|
+
fi
|
|
1536
|
+
|
|
1537
|
+
breaks+=( $last_break $(( start_pos + i - 1 )) )
|
|
1538
|
+
(( i += 2 ))
|
|
1539
|
+
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1]
|
|
1540
|
+
ret=$?
|
|
1541
|
+
(( i += REPLY ))
|
|
1542
|
+
last_break=$(( start_pos + i ))
|
|
1543
|
+
reply=(
|
|
1544
|
+
$saved_reply
|
|
1545
|
+
$j $(( start_pos + i )) command-substitution-quoted
|
|
1546
|
+
$j $(( j + 2 )) command-substitution-delimiter-quoted
|
|
1547
|
+
$reply
|
|
1548
|
+
)
|
|
1549
|
+
if (( ret == 0 )); then
|
|
1550
|
+
reply+=($(( start_pos + i - 1 )) $(( start_pos + i )) command-substitution-delimiter-quoted)
|
|
1551
|
+
fi
|
|
1552
|
+
continue
|
|
1553
|
+
else
|
|
1554
|
+
continue
|
|
1555
|
+
fi
|
|
1556
|
+
;;
|
|
1557
|
+
"\\") style=back-double-quoted-argument
|
|
1558
|
+
if [[ \\\`\"\$${histchars[1]} == *$arg[$i+1]* ]]; then
|
|
1559
|
+
(( k += 1 )) # Color following char too.
|
|
1560
|
+
(( i += 1 )) # Skip parsing the escaped char.
|
|
1561
|
+
else
|
|
1562
|
+
continue
|
|
1563
|
+
fi
|
|
1564
|
+
;;
|
|
1565
|
+
($histchars[1]) # ! - may be a history expansion
|
|
1566
|
+
if [[ $arg[i+1] != ('='|$'\x28'|$'\x7b'|[[:blank:]]) ]]; then
|
|
1567
|
+
style=history-expansion
|
|
1568
|
+
else
|
|
1569
|
+
continue
|
|
1570
|
+
fi
|
|
1571
|
+
;;
|
|
1572
|
+
*) continue ;;
|
|
1573
|
+
|
|
1574
|
+
esac
|
|
1575
|
+
reply+=($j $k $style)
|
|
1576
|
+
done
|
|
1577
|
+
|
|
1578
|
+
if [[ $arg[i] == '"' ]]; then
|
|
1579
|
+
style=double-quoted-argument
|
|
1580
|
+
else
|
|
1581
|
+
# If unclosed, i points past the end
|
|
1582
|
+
(( i-- ))
|
|
1583
|
+
style=double-quoted-argument-unclosed
|
|
1584
|
+
fi
|
|
1585
|
+
(( last_break != start_pos + i )) && breaks+=( $last_break $(( start_pos + i )) )
|
|
1586
|
+
saved_reply=($reply)
|
|
1587
|
+
reply=()
|
|
1588
|
+
for 1 2 in $breaks; do
|
|
1589
|
+
(( $1 != $2 )) && reply+=($1 $2 $style)
|
|
1590
|
+
done
|
|
1591
|
+
reply+=($saved_reply)
|
|
1592
|
+
REPLY=$i
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
# Highlight special chars inside dollar-quoted strings
|
|
1596
|
+
_zsh_highlight_main_highlighter_highlight_dollar_quote()
|
|
1597
|
+
{
|
|
1598
|
+
local -a match mbegin mend
|
|
1599
|
+
local MATCH; integer MBEGIN MEND
|
|
1600
|
+
local i j k style
|
|
1601
|
+
local AA
|
|
1602
|
+
integer c
|
|
1603
|
+
reply=()
|
|
1604
|
+
|
|
1605
|
+
for (( i = $1 + 2 ; i <= $#arg ; i += 1 )) ; do
|
|
1606
|
+
(( j = i + start_pos - 1 ))
|
|
1607
|
+
(( k = j + 1 ))
|
|
1608
|
+
case "$arg[$i]" in
|
|
1609
|
+
"'") break;;
|
|
1610
|
+
"\\") style=back-dollar-quoted-argument
|
|
1611
|
+
for (( c = i + 1 ; c <= $#arg ; c += 1 )); do
|
|
1612
|
+
[[ "$arg[$c]" != ([0-9xXuUa-fA-F]) ]] && break
|
|
1613
|
+
done
|
|
1614
|
+
AA=$arg[$i+1,$c-1]
|
|
1615
|
+
# Matching for HEX and OCT values like \0xA6, \xA6 or \012
|
|
1616
|
+
if [[ "$AA" =~ "^(x|X)[0-9a-fA-F]{1,2}"
|
|
1617
|
+
|| "$AA" =~ "^[0-7]{1,3}"
|
|
1618
|
+
|| "$AA" =~ "^u[0-9a-fA-F]{1,4}"
|
|
1619
|
+
|| "$AA" =~ "^U[0-9a-fA-F]{1,8}"
|
|
1620
|
+
]]; then
|
|
1621
|
+
(( k += $#MATCH ))
|
|
1622
|
+
(( i += $#MATCH ))
|
|
1623
|
+
else
|
|
1624
|
+
if (( $#arg > $i+1 )) && [[ $arg[$i+1] == [xXuU] ]]; then
|
|
1625
|
+
# \x not followed by hex digits is probably an error
|
|
1626
|
+
style=unknown-token
|
|
1627
|
+
fi
|
|
1628
|
+
(( k += 1 )) # Color following char too.
|
|
1629
|
+
(( i += 1 )) # Skip parsing the escaped char.
|
|
1630
|
+
fi
|
|
1631
|
+
;;
|
|
1632
|
+
*) continue ;;
|
|
1633
|
+
|
|
1634
|
+
esac
|
|
1635
|
+
reply+=($j $k $style)
|
|
1636
|
+
done
|
|
1637
|
+
|
|
1638
|
+
if [[ $arg[i] == "'" ]]; then
|
|
1639
|
+
style=dollar-quoted-argument
|
|
1640
|
+
else
|
|
1641
|
+
# If unclosed, i points past the end
|
|
1642
|
+
(( i-- ))
|
|
1643
|
+
style=dollar-quoted-argument-unclosed
|
|
1644
|
+
fi
|
|
1645
|
+
reply=($(( start_pos + $1 - 1 )) $(( start_pos + i )) $style $reply)
|
|
1646
|
+
REPLY=$i
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
# Highlight backtick substitutions
|
|
1650
|
+
_zsh_highlight_main_highlighter_highlight_backtick()
|
|
1651
|
+
{
|
|
1652
|
+
# buf is the contents of the backticks with a layer of backslashes removed.
|
|
1653
|
+
# last is the index of arg for the start of the string to be copied into buf.
|
|
1654
|
+
# It is either one past the beginning backtick or one past the last backslash.
|
|
1655
|
+
# offset is a count of consumed \ (the delta between buf and arg).
|
|
1656
|
+
# offsets is an array indexed by buf offset of when the delta between buf and arg changes.
|
|
1657
|
+
# It is sparse, so search backwards to the last value
|
|
1658
|
+
local buf highlight style=back-quoted-argument-unclosed style_end
|
|
1659
|
+
local -i arg1=$1 end_ i=$1 last offset=0 start subshell_has_end=0
|
|
1660
|
+
local -a highlight_zone highlights offsets
|
|
1661
|
+
reply=()
|
|
1662
|
+
|
|
1663
|
+
last=$(( arg1 + 1 ))
|
|
1664
|
+
# Remove one layer of backslashes and find the end
|
|
1665
|
+
while i=$arg[(ib:i+1:)[\\\\\`]]; do # find the next \ or `
|
|
1666
|
+
if (( i > $#arg )); then
|
|
1667
|
+
buf=$buf$arg[last,i]
|
|
1668
|
+
offsets[i-arg1-offset]='' # So we never index past the end
|
|
1669
|
+
(( i-- ))
|
|
1670
|
+
subshell_has_end=$(( has_end && (start_pos + i == len) ))
|
|
1671
|
+
break
|
|
1672
|
+
fi
|
|
1673
|
+
|
|
1674
|
+
if [[ $arg[i] == '\' ]]; then
|
|
1675
|
+
(( i++ ))
|
|
1676
|
+
# POSIX XCU 2.6.3
|
|
1677
|
+
if [[ $arg[i] == ('$'|'`'|'\') ]]; then
|
|
1678
|
+
buf=$buf$arg[last,i-2]
|
|
1679
|
+
(( offset++ ))
|
|
1680
|
+
# offsets is relative to buf, so adjust by -arg1
|
|
1681
|
+
offsets[i-arg1-offset]=$offset
|
|
1682
|
+
else
|
|
1683
|
+
buf=$buf$arg[last,i-1]
|
|
1684
|
+
fi
|
|
1685
|
+
else # it's an unquoted ` and this is the end
|
|
1686
|
+
style=back-quoted-argument
|
|
1687
|
+
style_end=back-quoted-argument-delimiter
|
|
1688
|
+
buf=$buf$arg[last,i-1]
|
|
1689
|
+
offsets[i-arg1-offset]='' # So we never index past the end
|
|
1690
|
+
break
|
|
1691
|
+
fi
|
|
1692
|
+
last=$i
|
|
1693
|
+
done
|
|
1694
|
+
|
|
1695
|
+
_zsh_highlight_main_highlighter_highlight_list 0 '' $subshell_has_end $buf
|
|
1696
|
+
|
|
1697
|
+
# Munge the reply to account for removed backslashes
|
|
1698
|
+
for start end_ highlight in $reply; do
|
|
1699
|
+
start=$(( start_pos + arg1 + start + offsets[(Rb:start:)?*] ))
|
|
1700
|
+
end_=$(( start_pos + arg1 + end_ + offsets[(Rb:end_:)?*] ))
|
|
1701
|
+
highlights+=($start $end_ $highlight)
|
|
1702
|
+
if [[ $highlight == back-quoted-argument-unclosed && $style == back-quoted-argument ]]; then
|
|
1703
|
+
# An inner backtick command substitution is unclosed, but this level is closed
|
|
1704
|
+
style_end=unknown-token
|
|
1705
|
+
fi
|
|
1706
|
+
done
|
|
1707
|
+
|
|
1708
|
+
reply=(
|
|
1709
|
+
$(( start_pos + arg1 - 1 )) $(( start_pos + i )) $style
|
|
1710
|
+
$(( start_pos + arg1 - 1 )) $(( start_pos + arg1 )) back-quoted-argument-delimiter
|
|
1711
|
+
$highlights
|
|
1712
|
+
)
|
|
1713
|
+
if (( $#style_end )); then
|
|
1714
|
+
reply+=($(( start_pos + i - 1)) $(( start_pos + i )) $style_end)
|
|
1715
|
+
fi
|
|
1716
|
+
REPLY=$i
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
# Highlight special chars inside arithmetic expansions
|
|
1720
|
+
_zsh_highlight_main_highlighter_highlight_arithmetic()
|
|
1721
|
+
{
|
|
1722
|
+
local -a saved_reply
|
|
1723
|
+
local style
|
|
1724
|
+
integer i j k paren_depth ret
|
|
1725
|
+
reply=()
|
|
1726
|
+
|
|
1727
|
+
for (( i = $1 + 3 ; i <= end_pos - start_pos ; i += 1 )) ; do
|
|
1728
|
+
(( j = i + start_pos - 1 ))
|
|
1729
|
+
(( k = j + 1 ))
|
|
1730
|
+
case "$arg[$i]" in
|
|
1731
|
+
[\'\"\\@{}])
|
|
1732
|
+
style=unknown-token
|
|
1733
|
+
;;
|
|
1734
|
+
'(')
|
|
1735
|
+
(( paren_depth++ ))
|
|
1736
|
+
continue
|
|
1737
|
+
;;
|
|
1738
|
+
')')
|
|
1739
|
+
if (( paren_depth )); then
|
|
1740
|
+
(( paren_depth-- ))
|
|
1741
|
+
continue
|
|
1742
|
+
fi
|
|
1743
|
+
[[ $arg[i+1] == ')' ]] && { (( i++ )); break; }
|
|
1744
|
+
# Special case ) at the end of the buffer to avoid flashing command substitution for a character
|
|
1745
|
+
(( has_end && (len == k) )) && break
|
|
1746
|
+
# This is a single paren and there are no open parens, so this isn't an arithmetic expansion
|
|
1747
|
+
return 1
|
|
1748
|
+
;;
|
|
1749
|
+
'`')
|
|
1750
|
+
saved_reply=($reply)
|
|
1751
|
+
_zsh_highlight_main_highlighter_highlight_backtick $i
|
|
1752
|
+
(( i = REPLY ))
|
|
1753
|
+
reply=($saved_reply $reply)
|
|
1754
|
+
continue
|
|
1755
|
+
;;
|
|
1756
|
+
'$' )
|
|
1757
|
+
if [[ $arg[i+1] == $'\x28' ]]; then
|
|
1758
|
+
saved_reply=($reply)
|
|
1759
|
+
if [[ $arg[i+2] == $'\x28' ]] && _zsh_highlight_main_highlighter_highlight_arithmetic $i; then
|
|
1760
|
+
# Arithmetic expansion
|
|
1761
|
+
(( i = REPLY ))
|
|
1762
|
+
reply=($saved_reply $reply)
|
|
1763
|
+
continue
|
|
1764
|
+
fi
|
|
1765
|
+
|
|
1766
|
+
(( i += 2 ))
|
|
1767
|
+
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,end_pos]
|
|
1768
|
+
ret=$?
|
|
1769
|
+
(( i += REPLY ))
|
|
1770
|
+
reply=(
|
|
1771
|
+
$saved_reply
|
|
1772
|
+
$j $(( start_pos + i )) command-substitution-quoted
|
|
1773
|
+
$j $(( j + 2 )) command-substitution-delimiter-quoted
|
|
1774
|
+
$reply
|
|
1775
|
+
)
|
|
1776
|
+
if (( ret == 0 )); then
|
|
1777
|
+
reply+=($(( start_pos + i - 1 )) $(( start_pos + i )) command-substitution-delimiter)
|
|
1778
|
+
fi
|
|
1779
|
+
continue
|
|
1780
|
+
else
|
|
1781
|
+
continue
|
|
1782
|
+
fi
|
|
1783
|
+
;;
|
|
1784
|
+
($histchars[1]) # ! - may be a history expansion
|
|
1785
|
+
if [[ $arg[i+1] != ('='|$'\x28'|$'\x7b'|[[:blank:]]) ]]; then
|
|
1786
|
+
style=history-expansion
|
|
1787
|
+
else
|
|
1788
|
+
continue
|
|
1789
|
+
fi
|
|
1790
|
+
;;
|
|
1791
|
+
*)
|
|
1792
|
+
continue
|
|
1793
|
+
;;
|
|
1794
|
+
|
|
1795
|
+
esac
|
|
1796
|
+
reply+=($j $k $style)
|
|
1797
|
+
done
|
|
1798
|
+
|
|
1799
|
+
if [[ $arg[i] != ')' ]]; then
|
|
1800
|
+
# If unclosed, i points past the end
|
|
1801
|
+
(( i-- ))
|
|
1802
|
+
fi
|
|
1803
|
+
style=arithmetic-expansion
|
|
1804
|
+
reply=($(( start_pos + $1 - 1)) $(( start_pos + i )) arithmetic-expansion $reply)
|
|
1805
|
+
REPLY=$i
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
# Called with a single positional argument.
|
|
1810
|
+
# Perform filename expansion (tilde expansion) on the argument and set $REPLY to the expanded value.
|
|
1811
|
+
#
|
|
1812
|
+
# Does not perform filename generation (globbing).
|
|
1813
|
+
_zsh_highlight_main_highlighter_expand_path()
|
|
1814
|
+
{
|
|
1815
|
+
(( $# == 1 )) || print -r -- >&2 "zsh-syntax-highlighting: BUG: _zsh_highlight_main_highlighter_expand_path: called without argument"
|
|
1816
|
+
|
|
1817
|
+
# The $~1 syntax normally performs filename generation, but not when it's on the right-hand side of ${x:=y}.
|
|
1818
|
+
setopt localoptions nonomatch
|
|
1819
|
+
unset REPLY
|
|
1820
|
+
: ${REPLY:=${(Q)${~1}}}
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
# -------------------------------------------------------------------------------------------------
|
|
1824
|
+
# Main highlighter initialization
|
|
1825
|
+
# -------------------------------------------------------------------------------------------------
|
|
1826
|
+
|
|
1827
|
+
_zsh_highlight_main__precmd_hook() {
|
|
1828
|
+
# Unset the WARN_NESTED_VAR option, taking care not to error if the option
|
|
1829
|
+
# doesn't exist (zsh older than zsh-5.3.1-test-2).
|
|
1830
|
+
setopt localoptions
|
|
1831
|
+
if eval '[[ -o warnnestedvar ]]' 2>/dev/null; then
|
|
1832
|
+
unsetopt warnnestedvar
|
|
1833
|
+
fi
|
|
1834
|
+
|
|
1835
|
+
_zsh_highlight_main__command_type_cache=()
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
autoload -Uz add-zsh-hook
|
|
1839
|
+
if add-zsh-hook precmd _zsh_highlight_main__precmd_hook 2>/dev/null; then
|
|
1840
|
+
# Initialize command type cache
|
|
1841
|
+
typeset -gA _zsh_highlight_main__command_type_cache
|
|
1842
|
+
else
|
|
1843
|
+
print -r -- >&2 'zsh-syntax-highlighting: Failed to load add-zsh-hook. Some speed optimizations will not be used.'
|
|
1844
|
+
# Make sure the cache is unset
|
|
1845
|
+
unset _zsh_highlight_main__command_type_cache
|
|
1846
|
+
fi
|
|
1847
|
+
typeset -ga ZSH_HIGHLIGHT_DIRS_BLACKLIST
|