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,2257 @@
|
|
|
1
|
+
local -i force=0
|
|
2
|
+
|
|
3
|
+
local opt
|
|
4
|
+
while getopts 'f' opt; do
|
|
5
|
+
case $opt in
|
|
6
|
+
f) force=1;;
|
|
7
|
+
+f) force=0;;
|
|
8
|
+
\?) return 1;;
|
|
9
|
+
esac
|
|
10
|
+
done
|
|
11
|
+
|
|
12
|
+
if (( OPTIND <= ARGC )); then
|
|
13
|
+
print -lr -- "wizard.zsh: invalid arguments: $@" >&2
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
local -i in_z4h_wizard=0
|
|
18
|
+
[[ $force == 0 && $+functions[z4h] == 1 && -n $Z4H && -e $Z4H/welcome ]] && in_z4h_wizard=1
|
|
19
|
+
|
|
20
|
+
local -i success=0
|
|
21
|
+
|
|
22
|
+
local -ri force
|
|
23
|
+
|
|
24
|
+
local -r font_base_url='https://github.com/romkatv/powerlevel10k-media/raw/master'
|
|
25
|
+
|
|
26
|
+
local -ri prompt_indent=2
|
|
27
|
+
|
|
28
|
+
local -rA pure_original=(grey 242 red 1 yellow 3 blue 4 magenta 5 cyan 6 white 7)
|
|
29
|
+
local -rA pure_snazzy=(grey 242 red '#FF5C57' yellow '#F3F99D' blue '#57C7FF' magenta '#FF6AC1' cyan '#9AEDFE' white '#F1F1F0')
|
|
30
|
+
local -ra bg_color=(240 238 236 234)
|
|
31
|
+
local -ra sep_color=(248 246 244 242)
|
|
32
|
+
local -ra prefix_color=(250 248 246 244)
|
|
33
|
+
|
|
34
|
+
local -r left_circle='\uE0B6'
|
|
35
|
+
local -r right_circle='\uE0B4'
|
|
36
|
+
local -r left_arc='\uE0B7'
|
|
37
|
+
local -r right_arc='\uE0B5'
|
|
38
|
+
local -r left_triangle='\uE0B2'
|
|
39
|
+
local -r right_triangle='\uE0B0'
|
|
40
|
+
local -r left_angle='\uE0B3'
|
|
41
|
+
local -r right_angle='\uE0B1'
|
|
42
|
+
local -r fade_in='░▒▓'
|
|
43
|
+
local -r fade_out='▓▒░'
|
|
44
|
+
local -r vertical_bar='\u2502'
|
|
45
|
+
|
|
46
|
+
local -r cursor='%1{\e[07m \e[27m%}'
|
|
47
|
+
|
|
48
|
+
local -r time_24h='16:23:42'
|
|
49
|
+
local -r time_12h='04:23:42 PM'
|
|
50
|
+
|
|
51
|
+
local -ra lean_left=(
|
|
52
|
+
'%$frame_color[$color]F╭─ ' '${extra_icons[1]:+%f$extra_icons[1] }%31F$extra_icons[2]%B%39F~%b%31F/%B%39Fsrc%b%f $prefixes[1]%76F$extra_icons[3]master%f '
|
|
53
|
+
'%$frame_color[$color]F╰─' '%76F$prompt_char%f ${buffer:-$cursor}'
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
local -ra lean_right=(
|
|
57
|
+
' $prefixes[2]%101F$extra_icons[4]5s%f${time:+ $prefixes[3]%66F$extra_icons[5]$time%f}' ' %$frame_color[$color]F─╮%f'
|
|
58
|
+
'' ' %$frame_color[$color]F─╯%f'
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
local -ra lean_8colors_left=(
|
|
62
|
+
'%$frame_color[$color]F╭─ ' '${extra_icons[1]:+%f$extra_icons[1] }%4F$extra_icons[2]%4F~/src%f $prefixes[1]%2F$extra_icons[3]master%f '
|
|
63
|
+
'%$frame_color[$color]F╰─' '%2F$prompt_char%f ${buffer:-$cursor}'
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
local -ra lean_8colors_right=(
|
|
67
|
+
' $prefixes[2]%3F$extra_icons[4]5s%f${time:+ $prefixes[3]%6F$extra_icons[5]$time%f}' ' %$frame_color[$color]F─╮%f'
|
|
68
|
+
'' ' %$frame_color[$color]F─╯%f'
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
local -ra classic_left=(
|
|
72
|
+
'%$frame_color[$color]F╭─' '%F{$bg_color[$color]}$left_tail%K{$bg_color[$color]} ${extra_icons[1]:+%255F$extra_icons[1] %$sep_color[$color]F$left_subsep%f }%31F$extra_icons[2]%B%39F~%b%K{$bg_color[$color]}%31F/%B%39Fsrc%b%K{$bg_color[$color]} %$sep_color[$color]F$left_subsep%f %$prefix_color[$color]F$prefixes[1]%76F$extra_icons[3]master %k%$bg_color[$color]F$left_head%f'
|
|
73
|
+
'%$frame_color[$color]F╰─' '%f ${buffer:-$cursor}'
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
local -ra classic_right=(
|
|
77
|
+
'%$bg_color[$color]F$right_head%K{$bg_color[$color]}%f %$prefix_color[$color]F$prefixes[2]%101F5s $extra_icons[4]${time:+%$sep_color[$color]F$right_subsep %$prefix_color[$color]F$prefixes[3]%66F$time $extra_icons[5]}%k%F{$bg_color[$color]}$right_tail%f' '%$frame_color[$color]F─╮%f'
|
|
78
|
+
'' '%$frame_color[$color]F─╯%f'
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
local -ra pure_left=(
|
|
82
|
+
'' '%F{$pure_color[blue]}~/src%f %F{$pure_color[grey]}master%f ${pure_use_rprompt-%F{$pure_color[yellow]\}5s%f }'
|
|
83
|
+
'' '%F{$pure_color[magenta]}$prompt_char%f ${buffer:-$cursor}'
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
local -ra pure_right=(
|
|
87
|
+
'${pure_use_rprompt+%F{$pure_color[yellow]\}5s%f${time:+ }}${time:+%F{$pure_color[grey]\}$time%f}' ''
|
|
88
|
+
'' ''
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
local -ra rainbow_left=(
|
|
92
|
+
'%$frame_color[$color]F╭─' '%F{${${extra_icons[1]:+7}:-4}}$left_tail${extra_icons[1]:+%K{7\}%232F $extra_icons[1] %K{4\}%7F$left_sep}%K{4}%254F $extra_icons[2]%B%255F~%b%K{4}%254F/%B%255Fsrc%b%K{4} %K{2}%4F$left_sep %0F$prefixes[1]$extra_icons[3]master %k%2F$left_head%f'
|
|
93
|
+
'%$frame_color[$color]F╰─' '%f ${buffer:-$cursor}'
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
local -ra rainbow_right=(
|
|
97
|
+
'%3F$right_head%K{3} %0F$prefixes[2]5s $extra_icons[4]%3F${time:+%7F$right_sep%K{7\} %0F$prefixes[3]$time $extra_icons[5]%7F}%k$right_tail%f' '%$frame_color[$color]F─╮%f'
|
|
98
|
+
'' '%$frame_color[$color]F─╯%f'
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
function prompt_length() {
|
|
102
|
+
local -i COLUMNS=1024
|
|
103
|
+
local -i x y=$#1 m
|
|
104
|
+
if (( y )); then
|
|
105
|
+
while (( ${${(%):-$1%$y(l.1.0)}[-1]} )); do
|
|
106
|
+
x=y
|
|
107
|
+
(( y *= 2 ))
|
|
108
|
+
done
|
|
109
|
+
while (( y > x + 1 )); do
|
|
110
|
+
(( m = x + (y - x) / 2 ))
|
|
111
|
+
(( ${${(%):-$1%$m(l.x.y)}[-1]} = m ))
|
|
112
|
+
done
|
|
113
|
+
fi
|
|
114
|
+
typeset -g REPLY=$x
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function print_prompt() {
|
|
118
|
+
[[ $parameters[extra_icons] == scalar* ]] && eval "local -a extra_icons=$extra_icons"
|
|
119
|
+
[[ $parameters[pure_color] == scalar* ]] && eval "local -A pure_color=$pure_color"
|
|
120
|
+
[[ $parameters[prefixes] == scalar* ]] && eval "local -a prefixes=$prefixes"
|
|
121
|
+
|
|
122
|
+
local left=${style}_left
|
|
123
|
+
local right=${style}_right
|
|
124
|
+
left=("${(@P)left}")
|
|
125
|
+
right=("${(@P)right}")
|
|
126
|
+
(( disable_rprompt )) && right=()
|
|
127
|
+
eval "left=(${(@)left:/(#b)(*)/\"$match[1]\"})"
|
|
128
|
+
eval "right=(${(@)right:/(#b)(*)/\"$match[1]\"})"
|
|
129
|
+
if (( num_lines == 1)); then
|
|
130
|
+
left=($left[2] $left[4])
|
|
131
|
+
right=($right[1] $right[3])
|
|
132
|
+
else
|
|
133
|
+
local c=76
|
|
134
|
+
[[ $style == pure ]] && c=$pure_color[magenta]
|
|
135
|
+
[[ $style == lean_8colors ]] && c=2
|
|
136
|
+
(( left_frame )) || left=('' $left[2] '' "%F{$c}$prompt_char%f ${buffer:-$cursor}")
|
|
137
|
+
(( right_frame )) || right=($right[1] '' '' '')
|
|
138
|
+
fi
|
|
139
|
+
local -i left_indent=prompt_indent
|
|
140
|
+
local -i right_indent=prompt_indent
|
|
141
|
+
prompt_length ${(g::):-$left[1]$left[2]$right[1]$right[2]}
|
|
142
|
+
local -i width=REPLY
|
|
143
|
+
while (( wizard_columns - width <= left_indent + right_indent )); do
|
|
144
|
+
if (( right_indent )); then
|
|
145
|
+
(( --right_indent ))
|
|
146
|
+
elif (( left_indent )); then
|
|
147
|
+
(( --left_indent ))
|
|
148
|
+
else
|
|
149
|
+
print -P ' [%3Fnot enough horizontal space to display this%f]'
|
|
150
|
+
return 0
|
|
151
|
+
fi
|
|
152
|
+
done
|
|
153
|
+
local -i i
|
|
154
|
+
for ((i = 1; i < $#left; i+=2)); do
|
|
155
|
+
local l=${(g::):-$left[i]$left[i+1]}
|
|
156
|
+
local r=${(g::):-$right[i]$right[i+1]}
|
|
157
|
+
prompt_length $l$r
|
|
158
|
+
local -i gap=$((wizard_columns - left_indent - right_indent - REPLY))
|
|
159
|
+
(( num_lines == 2 && i == 1 )) && local fill=$gap_char || local fill=' '
|
|
160
|
+
print -n -- ${(pl:$left_indent:: :)}
|
|
161
|
+
print -nP -- $l
|
|
162
|
+
print -nP -- "%$frame_color[$color]F${(pl:$gap::$fill:)}%f"
|
|
163
|
+
print -P -- $r
|
|
164
|
+
done
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function href() {
|
|
168
|
+
local url=${${1//\%/%%}//\\/\\\\}
|
|
169
|
+
if (( _p9k_term_has_href )); then
|
|
170
|
+
print -r -- '%{\e]8;;'$url'\a%}'$url'%{\e]8;;\a%}'
|
|
171
|
+
else
|
|
172
|
+
print -r -- $url
|
|
173
|
+
fi
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function flowing() {
|
|
177
|
+
(( ${wizard_columns:-0} )) || local -i wizard_columns=COLUMNS
|
|
178
|
+
local opt
|
|
179
|
+
local -i centered indentation
|
|
180
|
+
while getopts 'ci:' opt; do
|
|
181
|
+
case $opt in
|
|
182
|
+
i) indentation=$OPTARG;;
|
|
183
|
+
c) centered=1;;
|
|
184
|
+
+c) centered=0;;
|
|
185
|
+
\?) exit 1;;
|
|
186
|
+
esac
|
|
187
|
+
done
|
|
188
|
+
shift $((OPTIND-1))
|
|
189
|
+
local line word lines=()
|
|
190
|
+
for word in "$@"; do
|
|
191
|
+
prompt_length ${(g::):-"$line $word"}
|
|
192
|
+
if (( REPLY > wizard_columns )); then
|
|
193
|
+
[[ -z $line ]] || lines+=$line
|
|
194
|
+
line=
|
|
195
|
+
fi
|
|
196
|
+
if [[ -n $line ]]; then
|
|
197
|
+
line+=' '
|
|
198
|
+
elif (( $#lines )); then
|
|
199
|
+
line=${(pl:$indentation:: :)}
|
|
200
|
+
fi
|
|
201
|
+
line+=$word
|
|
202
|
+
done
|
|
203
|
+
[[ -z $line ]] || lines+=$line
|
|
204
|
+
for line in $lines; do
|
|
205
|
+
prompt_length ${(g::)line}
|
|
206
|
+
(( centered && REPLY < wizard_columns )) && print -n -- ${(pl:$(((wizard_columns - REPLY) / 2)):: :)}
|
|
207
|
+
print -P -- $line
|
|
208
|
+
done
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function clear() {
|
|
212
|
+
if (( $+commands[clear] )) && command clear 2>/dev/null; then
|
|
213
|
+
return
|
|
214
|
+
fi
|
|
215
|
+
echoti clear 2>/dev/null
|
|
216
|
+
print -n -- "\e[H\e[2J\e[3J"
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
function hide_cursor() {
|
|
220
|
+
(( $+terminfo[cnorm] )) || return
|
|
221
|
+
echoti civis 2>/dev/null
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
function show_cursor() {
|
|
225
|
+
local cnorm=${terminfo[cnorm]-}
|
|
226
|
+
if [[ $cnorm == *$'\e[?25h'(|'\e'*) ]]; then
|
|
227
|
+
print -n '\e[?25h'
|
|
228
|
+
else
|
|
229
|
+
print -n $cnorm
|
|
230
|
+
fi
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function consume_input() {
|
|
234
|
+
local key
|
|
235
|
+
while true; do
|
|
236
|
+
[[ -t 2 ]]
|
|
237
|
+
read -t0 -k key || break
|
|
238
|
+
done 2>/dev/null
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
function quit() {
|
|
242
|
+
consume_input
|
|
243
|
+
if [[ $1 == '-c' ]]; then
|
|
244
|
+
print -Pr -- ''
|
|
245
|
+
print -Pr -- '%b%k%f%u%s'
|
|
246
|
+
print -Pr -- '%F{3}--- stack trace (most recent call first) ---%f'
|
|
247
|
+
print -lr -- $funcfiletrace
|
|
248
|
+
print -Pr -- '%F{3}--- end of stack trace ---%f'
|
|
249
|
+
print -Pr -- ''
|
|
250
|
+
print -Pr -- 'Press %BENTER%b to continue.'
|
|
251
|
+
hide_cursor
|
|
252
|
+
read -s
|
|
253
|
+
fi
|
|
254
|
+
restore_screen
|
|
255
|
+
print
|
|
256
|
+
if (( force )); then
|
|
257
|
+
flowing Powerlevel10k configuration wizard has been aborted. To run it again, type:
|
|
258
|
+
print -P ""
|
|
259
|
+
print -P " %2Fp10k%f %Bconfigure%b"
|
|
260
|
+
print -P ""
|
|
261
|
+
else
|
|
262
|
+
flowing \
|
|
263
|
+
Powerlevel10k configuration wizard has been aborted. It will run again \
|
|
264
|
+
next time unless you define at least one Powerlevel10k configuration option. \
|
|
265
|
+
To define an option that does nothing except for disabling Powerlevel10k \
|
|
266
|
+
configuration wizard, type the following command:
|
|
267
|
+
print -P ""
|
|
268
|
+
print -P " %2Fecho%f %3F'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true'%f >>! $__p9k_zshrc_u"
|
|
269
|
+
print -P ""
|
|
270
|
+
flowing To run Powerlevel10k configuration wizard right now, type:
|
|
271
|
+
print -P ""
|
|
272
|
+
print -P " %2Fp10k%f %Bconfigure%b"
|
|
273
|
+
print -P ""
|
|
274
|
+
fi
|
|
275
|
+
function quit() {}
|
|
276
|
+
stty echo 2>/dev/null
|
|
277
|
+
show_cursor
|
|
278
|
+
exit 1
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
local screen_widgets=()
|
|
282
|
+
local -i max_priority
|
|
283
|
+
local -i prompt_idx
|
|
284
|
+
local choice
|
|
285
|
+
|
|
286
|
+
function add_widget() {
|
|
287
|
+
local priority=$1
|
|
288
|
+
shift
|
|
289
|
+
local render="${(j: :)${(@q)*}}"
|
|
290
|
+
screen_widgets+=("$priority" "$render")
|
|
291
|
+
(( priority <= max_priority )) || max_priority=priority
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
function render_screen_pass() {
|
|
295
|
+
local -i pass=$1
|
|
296
|
+
local -i prev_pass cur_pass
|
|
297
|
+
local prev_render cur_render
|
|
298
|
+
for cur_pass cur_render in "${(@)screen_widgets}" 0 ''; do
|
|
299
|
+
if (( prev_pass <= pass && (cur_pass == 0 || cur_pass > pass) )); then
|
|
300
|
+
eval $prev_render
|
|
301
|
+
fi
|
|
302
|
+
prev_pass=cur_pass
|
|
303
|
+
prev_render=$cur_render
|
|
304
|
+
done
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
function get_columns() { return 'COLUMNS > 88 ? 88 : COLUMNS' }
|
|
308
|
+
functions -M get_columns 0 0
|
|
309
|
+
|
|
310
|
+
function render_screen() {
|
|
311
|
+
{
|
|
312
|
+
hide_cursor
|
|
313
|
+
while true; do
|
|
314
|
+
while true; do
|
|
315
|
+
typeset -gi wizard_columns='get_columns()'
|
|
316
|
+
typeset -gi wizard_lines=LINES
|
|
317
|
+
if (( wizard_columns < __p9k_wizard_columns )); then
|
|
318
|
+
clear
|
|
319
|
+
flowing -c %1FNot enough horizontal space.%f
|
|
320
|
+
print
|
|
321
|
+
flowing Make terminal window %Bwider%b or press %BCtrl-C%b to abort Powerlevel10k configuration wizard.
|
|
322
|
+
elif (( wizard_lines < __p9k_wizard_lines )); then
|
|
323
|
+
clear
|
|
324
|
+
flowing -c %1FNot enough vertical space.%f
|
|
325
|
+
print
|
|
326
|
+
flowing Make terminal window %Btaller%b or press %BCtrl-C%b to abort Powerlevel10k configuration wizard.
|
|
327
|
+
else
|
|
328
|
+
break
|
|
329
|
+
fi
|
|
330
|
+
while (( get_columns() == wizard_columns && LINES == wizard_lines )); do
|
|
331
|
+
sleep 1
|
|
332
|
+
done
|
|
333
|
+
done
|
|
334
|
+
|
|
335
|
+
local -a passes
|
|
336
|
+
() {
|
|
337
|
+
local -i pass
|
|
338
|
+
local render
|
|
339
|
+
for pass render in "${(@)screen_widgets}"; do
|
|
340
|
+
passes+=$pass
|
|
341
|
+
done
|
|
342
|
+
passes=(${(onu)passes})
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
local -i pass
|
|
346
|
+
for pass in $passes; do
|
|
347
|
+
local content="$(render_screen_pass $pass)"
|
|
348
|
+
local lines=("${(@f)content}")
|
|
349
|
+
(( $#lines > wizard_lines )) && continue
|
|
350
|
+
clear
|
|
351
|
+
print -rn -- $content
|
|
352
|
+
return 0
|
|
353
|
+
done
|
|
354
|
+
|
|
355
|
+
clear
|
|
356
|
+
flowing -c %1FNot enough vertical space.%f
|
|
357
|
+
print
|
|
358
|
+
flowing Make terminal window %Btaller%b or press %BCtrl-C%b to abort Powerlevel10k configuration wizard.
|
|
359
|
+
while (( get_columns() == wizard_columns && LINES == wizard_lines )); do
|
|
360
|
+
sleep 1
|
|
361
|
+
done
|
|
362
|
+
done
|
|
363
|
+
} always {
|
|
364
|
+
show_cursor
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
function add_prompt_n() {
|
|
369
|
+
add_widget 0 "$@" print_prompt
|
|
370
|
+
local var
|
|
371
|
+
for var; do
|
|
372
|
+
eval "local ${(q)var}"
|
|
373
|
+
done
|
|
374
|
+
if (( num_lines == 2 )); then
|
|
375
|
+
add_widget $(( 100 - ++prompt_idx )) print -P ' [%3Fnot enough vertical space to display this%f]'
|
|
376
|
+
fi
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
function add_prompt() {
|
|
380
|
+
add_widget 0 print
|
|
381
|
+
add_widget 1
|
|
382
|
+
add_prompt_n "$@"
|
|
383
|
+
add_widget 0 print
|
|
384
|
+
add_widget 2
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
function ask() {
|
|
388
|
+
local choices=$1
|
|
389
|
+
local -i lines columns wizard_lines wizard_columns
|
|
390
|
+
add_widget 0 print -P "(q) Quit and do nothing."
|
|
391
|
+
add_widget 0 print
|
|
392
|
+
add_widget $((max_priority + 1))
|
|
393
|
+
add_widget 0 print -P "%BChoice [${choices}q]: %b"
|
|
394
|
+
while true; do
|
|
395
|
+
=true
|
|
396
|
+
if (( LINES != lines || get_columns() != columns )); then
|
|
397
|
+
render_screen
|
|
398
|
+
lines=wizard_lines
|
|
399
|
+
columns=wizard_columns
|
|
400
|
+
fi
|
|
401
|
+
typeset -g choice=
|
|
402
|
+
if read -t1 -k choice; then
|
|
403
|
+
choice=${(L)choice}
|
|
404
|
+
if [[ $choice == q ]]; then
|
|
405
|
+
quit
|
|
406
|
+
fi
|
|
407
|
+
if [[ $choices == *$choice* ]]; then
|
|
408
|
+
screen_widgets=()
|
|
409
|
+
max_priority=0
|
|
410
|
+
prompt_idx=0
|
|
411
|
+
return
|
|
412
|
+
fi
|
|
413
|
+
fi
|
|
414
|
+
done
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
local -i greeting_printed=0
|
|
418
|
+
|
|
419
|
+
function print_greeting() {
|
|
420
|
+
(( greeting_printed )) && return
|
|
421
|
+
if (( in_z4h_wizard )); then
|
|
422
|
+
flowing -c %3FZsh for Humans%f uses %4FPowerlevel10k%f to print command \
|
|
423
|
+
line prompt. This wizard will ask you a few questions and configure \
|
|
424
|
+
prompt for you.
|
|
425
|
+
elif (( force )); then
|
|
426
|
+
flowing -c This is %4FPowerlevel10k configuration wizard%f. \
|
|
427
|
+
It will ask you a few questions and configure your prompt.
|
|
428
|
+
else
|
|
429
|
+
flowing -c This is %4FPowerlevel10k configuration wizard%f. \
|
|
430
|
+
You are seeing it because you haven\'t defined any \
|
|
431
|
+
Powerlevel10k configuration options. It will ask \
|
|
432
|
+
you a few questions and configure your prompt.
|
|
433
|
+
fi
|
|
434
|
+
print -P ""
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
function iterm_get() {
|
|
438
|
+
/usr/libexec/PlistBuddy -c "Print :$1" ~/Library/Preferences/com.googlecode.iterm2.plist
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
local terminal iterm2_font_size iterm2_old_font=0 can_install_font=0
|
|
442
|
+
|
|
443
|
+
() {
|
|
444
|
+
[[ $P9K_SSH == 0 ]] || return
|
|
445
|
+
if [[ "$(uname)" == Linux && "$(uname -o)" == Android ]]; then
|
|
446
|
+
(( $+commands[termux-reload-settings] )) || return
|
|
447
|
+
(( $+commands[curl] )) || return
|
|
448
|
+
if [[ -f ~/.termux/font.ttf ]]; then
|
|
449
|
+
[[ -r ~/.termux/font.ttf ]] || return
|
|
450
|
+
[[ -w ~/.termux/font.ttf ]] || return
|
|
451
|
+
! grep -q 'MesloLGS NF' ~/.termux/font.ttf 2>/dev/null || return
|
|
452
|
+
fi
|
|
453
|
+
if [[ -f ~/.termux ]]; then
|
|
454
|
+
[[ -d ~/.termux && -w ~/.termux ]] || return
|
|
455
|
+
else
|
|
456
|
+
[[ -w ~ ]] || return
|
|
457
|
+
fi
|
|
458
|
+
terminal=Termux
|
|
459
|
+
return 0
|
|
460
|
+
fi
|
|
461
|
+
if [[ "$(uname)" == Darwin && $TERM_PROGRAM == iTerm.app ]]; then
|
|
462
|
+
(( $+commands[curl] )) || return
|
|
463
|
+
[[ $TERM_PROGRAM_VERSION == [2-9]* ]] || return
|
|
464
|
+
if [[ -f ~/Library/Fonts ]]; then
|
|
465
|
+
[[ -d ~/Library/Fonts && -w ~/Library/Fonts ]] || return
|
|
466
|
+
else
|
|
467
|
+
[[ -d ~/Library && -w ~/Library ]] || return
|
|
468
|
+
fi
|
|
469
|
+
[[ -x /usr/libexec/PlistBuddy ]] || return
|
|
470
|
+
[[ -x /usr/bin/plutil ]] || return
|
|
471
|
+
[[ -x /usr/bin/defaults ]] || return
|
|
472
|
+
[[ -f ~/Library/Preferences/com.googlecode.iterm2.plist ]] || return
|
|
473
|
+
[[ -r ~/Library/Preferences/com.googlecode.iterm2.plist ]] || return
|
|
474
|
+
[[ -w ~/Library/Preferences/com.googlecode.iterm2.plist ]] || return
|
|
475
|
+
local guid1 && guid1="$(iterm_get '"Default Bookmark Guid"' 2>/dev/null)" || return
|
|
476
|
+
local guid2 && guid2="$(iterm_get '"New Bookmarks":0:"Guid"' 2>/dev/null)" || return
|
|
477
|
+
local font && font="$(iterm_get '"New Bookmarks":0:"Normal Font"' 2>/dev/null)" || return
|
|
478
|
+
[[ $guid1 == $guid2 ]] || return
|
|
479
|
+
[[ $font != 'MesloLGS-NF-Regular '<-> ]] || return
|
|
480
|
+
[[ $font == (#b)*' '(<->) ]] || return
|
|
481
|
+
[[ $font == 'MesloLGSNer-Regular '<-> ]] && iterm2_old_font=1
|
|
482
|
+
iterm2_font_size=$match[1]
|
|
483
|
+
terminal=iTerm2
|
|
484
|
+
return 0
|
|
485
|
+
fi
|
|
486
|
+
return 1
|
|
487
|
+
} && can_install_font=1
|
|
488
|
+
|
|
489
|
+
function run_command() {
|
|
490
|
+
local msg=$1
|
|
491
|
+
shift
|
|
492
|
+
[[ -n $msg ]] && print -nP -- "$msg ..."
|
|
493
|
+
local err && err="$("$@" 2>&1)" || {
|
|
494
|
+
print -P " %1FERROR%f"
|
|
495
|
+
print -P ""
|
|
496
|
+
print -nP "%BCommand:%b "
|
|
497
|
+
print -r -- "${(@q)*}"
|
|
498
|
+
if [[ -n $err ]]; then
|
|
499
|
+
print -P ""
|
|
500
|
+
print -r -- $err
|
|
501
|
+
fi
|
|
502
|
+
quit -c
|
|
503
|
+
}
|
|
504
|
+
[[ -n $msg ]] && print -P " %2FOK%f"
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
function install_font() {
|
|
508
|
+
clear
|
|
509
|
+
case $terminal in
|
|
510
|
+
Termux)
|
|
511
|
+
command mkdir -p -- ~/.termux || quit -c
|
|
512
|
+
run_command "Downloading %BMesloLGS NF Regular.ttf%b" \
|
|
513
|
+
curl -fsSL -o ~/.termux/font.ttf "$font_base_url/MesloLGS%20NF%20Regular.ttf"
|
|
514
|
+
run_command "Reloading %BTermux%b settings" termux-reload-settings
|
|
515
|
+
;;
|
|
516
|
+
iTerm2)
|
|
517
|
+
command mkdir -p -- ~/Library/Fonts || quit -c
|
|
518
|
+
local style
|
|
519
|
+
for style in Regular Bold Italic 'Bold Italic'; do
|
|
520
|
+
local file="MesloLGS NF ${style}.ttf"
|
|
521
|
+
run_command "Downloading %B$file%b" \
|
|
522
|
+
curl -fsSL -o ~/Library/Fonts/$file.tmp "$font_base_url/${file// /%20}"
|
|
523
|
+
command mv -f -- ~/Library/Fonts/$file{.tmp,} || quit -c
|
|
524
|
+
done
|
|
525
|
+
print -nP -- "Changing %BiTerm2%b settings ..."
|
|
526
|
+
local size=$iterm2_font_size
|
|
527
|
+
[[ $size == 12 ]] && size=13
|
|
528
|
+
local k t v settings=(
|
|
529
|
+
'"Normal Font"' string '"MesloLGS-NF-Regular '$size'"'
|
|
530
|
+
'"Terminal Type"' string '"xterm-256color"'
|
|
531
|
+
'"Horizontal Spacing"' real 1
|
|
532
|
+
'"Vertical Spacing"' real 1
|
|
533
|
+
'"Minimum Contrast"' real 0
|
|
534
|
+
'"Use Bold Font"' bool 1
|
|
535
|
+
'"Use Bright Bold"' bool 1
|
|
536
|
+
'"Use Italic Font"' bool 1
|
|
537
|
+
'"ASCII Anti Aliased"' bool 1
|
|
538
|
+
'"Non-ASCII Anti Aliased"' bool 1
|
|
539
|
+
'"Use Non-ASCII Font"' bool 0
|
|
540
|
+
'"Ambiguous Double Width"' bool 0
|
|
541
|
+
'"Draw Powerline Glyphs"' bool 1
|
|
542
|
+
'"Only The Default BG Color Uses Transparency"' bool 1
|
|
543
|
+
)
|
|
544
|
+
for k t v in $settings; do
|
|
545
|
+
/usr/libexec/PlistBuddy -c "Set :\"New Bookmarks\":0:$k $v" \
|
|
546
|
+
~/Library/Preferences/com.googlecode.iterm2.plist 2>/dev/null && continue
|
|
547
|
+
run_command "" /usr/libexec/PlistBuddy -c \
|
|
548
|
+
"Add :\"New Bookmarks\":0:$k $t $v" ~/Library/Preferences/com.googlecode.iterm2.plist
|
|
549
|
+
done
|
|
550
|
+
print -P " %2FOK%f"
|
|
551
|
+
print -nP "Updating %BiTerm2%b settings cache ..."
|
|
552
|
+
run_command "" /usr/bin/defaults read com.googlecode.iterm2
|
|
553
|
+
sleep 3
|
|
554
|
+
print -P " %2FOK%f"
|
|
555
|
+
sleep 1
|
|
556
|
+
clear
|
|
557
|
+
hide_cursor
|
|
558
|
+
print
|
|
559
|
+
flowing +c "%2FMeslo Nerd Font%f" successfully installed.
|
|
560
|
+
print -P ""
|
|
561
|
+
() {
|
|
562
|
+
local out
|
|
563
|
+
out=$(/usr/bin/defaults read 'Apple Global Domain' NSQuitAlwaysKeepsWindows 2>/dev/null) || return
|
|
564
|
+
[[ $out == 1 ]] || return
|
|
565
|
+
out="$(iterm_get OpenNoWindowsAtStartup 2>/dev/null)" || return
|
|
566
|
+
[[ $out == false ]]
|
|
567
|
+
}
|
|
568
|
+
if (( $? )); then
|
|
569
|
+
flowing +c Please "%Brestart iTerm2%b" for the changes to take effect.
|
|
570
|
+
print -P ""
|
|
571
|
+
flowing +c -i 5 " 1. Click" "%BiTerm2 → Quit iTerm2%b" or press "%B⌘ Q%b."
|
|
572
|
+
flowing +c -i 5 " 2. Open %BiTerm2%b."
|
|
573
|
+
print -P ""
|
|
574
|
+
flowing +c "It's" important to "%Brestart iTerm2%b" by following the instructions above. \
|
|
575
|
+
"It's" "%Bnot enough%b" to close iTerm2 by clicking on the red circle. You must \
|
|
576
|
+
click "%BiTerm2 → Quit iTerm2%b" or press "%B⌘ Q%b."
|
|
577
|
+
else
|
|
578
|
+
flowing +c Please "%Brestart your computer%b" for the changes to take effect.
|
|
579
|
+
fi
|
|
580
|
+
while true; do sleep 60 2>/dev/null; done
|
|
581
|
+
;;
|
|
582
|
+
esac
|
|
583
|
+
|
|
584
|
+
return 0
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
function ask_font() {
|
|
588
|
+
(( can_install_font )) || return 0
|
|
589
|
+
add_widget 0 print_greeting
|
|
590
|
+
if (( iterm2_old_font )); then
|
|
591
|
+
add_widget 0 flowing -c A new version of '%2FMeslo Nerd Font%f' is available. '%BInstall?%b'
|
|
592
|
+
else
|
|
593
|
+
add_widget 0 flowing -c %BInstall '%b%2FMeslo Nerd Font%f%B?%b'
|
|
594
|
+
fi
|
|
595
|
+
add_widget 0 print
|
|
596
|
+
add_widget 0 print -P "%B(y) Yes (recommended).%b"
|
|
597
|
+
add_widget 0 print
|
|
598
|
+
add_widget 1
|
|
599
|
+
add_widget 0 print -P "%B(n) No. Use the current font.%b"
|
|
600
|
+
add_widget 0 print
|
|
601
|
+
add_widget 1
|
|
602
|
+
ask yn
|
|
603
|
+
greeting_printed=1
|
|
604
|
+
case $choice in
|
|
605
|
+
y)
|
|
606
|
+
ask_remove_font || return
|
|
607
|
+
install_font
|
|
608
|
+
;;
|
|
609
|
+
n) ;;
|
|
610
|
+
esac
|
|
611
|
+
return 0
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
function print_file_path() {
|
|
615
|
+
local file=$1
|
|
616
|
+
if (( ${(m)#file} > wizard_columns - 2 )); then
|
|
617
|
+
file[wizard_columns-4,-1]='...'
|
|
618
|
+
fi
|
|
619
|
+
add_widget 0 print -P " %B${file//\%/%%}%b"
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
function ask_remove_font() {
|
|
623
|
+
local font
|
|
624
|
+
local -a fonts
|
|
625
|
+
local -i protected
|
|
626
|
+
for font in {,/System,~}/Library/Fonts/**/*[Mm]eslo*.(ttf|otf)(N:A); do
|
|
627
|
+
[[ -f $font && -r $font ]] || continue
|
|
628
|
+
[[ $font == ~/Library/Fonts/'MesloLGS NF '(Regular|Bold|Italic|Bold\ Italic).ttf ]] && continue
|
|
629
|
+
[[ "$(<$font)" == *"MesloLGS NF"$'\0'* ]] || continue
|
|
630
|
+
fonts+=$font
|
|
631
|
+
[[ -w ${font:h} ]] || protected=1
|
|
632
|
+
done
|
|
633
|
+
(( $#fonts )) || return 0
|
|
634
|
+
add_widget 0 flowing -c A variant of "%2FMeslo Nerd Font%f" is already installed.
|
|
635
|
+
add_widget 0 print -P ""
|
|
636
|
+
for font in $fonts; do
|
|
637
|
+
add_widget 0 print_file_path $font
|
|
638
|
+
done
|
|
639
|
+
add_widget 0 print -P ""
|
|
640
|
+
if (( protected )); then
|
|
641
|
+
if (( $#fonts == 1 )); then
|
|
642
|
+
add_widget 0 flowing Please %Bdelete%b this file and run '%2Fp10k%f %Bconfigure%b.'
|
|
643
|
+
else
|
|
644
|
+
add_widget 0 flowing Please %Bdelete%b these files and run '%2Fp10k%f %Bconfigure%b.'
|
|
645
|
+
fi
|
|
646
|
+
add_widget 0 print
|
|
647
|
+
restore_screen
|
|
648
|
+
local pass render
|
|
649
|
+
for pass render in "${(@)screen_widgets}"; do
|
|
650
|
+
(( pass == 0 )) && eval $render
|
|
651
|
+
done
|
|
652
|
+
exit 1
|
|
653
|
+
fi
|
|
654
|
+
if (( $#fonts == 1 )); then
|
|
655
|
+
add_widget 0 flowing -c "%BDelete this file?%b"
|
|
656
|
+
else
|
|
657
|
+
add_widget 0 flowing -c "%BDelete these files?%b"
|
|
658
|
+
fi
|
|
659
|
+
add_widget 0 print -P ""
|
|
660
|
+
add_widget 0 print -P "%B(y) Yes (recommended).%b"
|
|
661
|
+
add_widget 0 print -P ""
|
|
662
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
663
|
+
ask yr
|
|
664
|
+
case $choice in
|
|
665
|
+
r) return 1;;
|
|
666
|
+
y) zf_rm -f -- $fonts || quit -c;;
|
|
667
|
+
esac
|
|
668
|
+
return 0
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
function ask_diamond() {
|
|
672
|
+
local extra
|
|
673
|
+
add_widget 0 print_greeting
|
|
674
|
+
add_widget 0 flowing -c %BDoes this look like a%b %2Fdiamond%f '%B(rotated square)?%b'
|
|
675
|
+
add_widget 0 flowing -c reference: "$(href https://graphemica.com/%E2%97%86)"
|
|
676
|
+
add_widget 0 print
|
|
677
|
+
add_widget 0 flowing -c -- "---> \uE0B2\uE0B0 <---"
|
|
678
|
+
add_widget 0 print
|
|
679
|
+
add_widget 3
|
|
680
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
681
|
+
add_widget 0 print
|
|
682
|
+
add_widget 1
|
|
683
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
684
|
+
add_widget 0 print
|
|
685
|
+
add_widget 2
|
|
686
|
+
if (( can_install_font )); then
|
|
687
|
+
extra+=r
|
|
688
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
689
|
+
fi
|
|
690
|
+
ask yn$extra
|
|
691
|
+
greeting_printed=1
|
|
692
|
+
case $choice in
|
|
693
|
+
r) return 1;;
|
|
694
|
+
y) cap_diamond=1;;
|
|
695
|
+
n) cap_diamond=0;;
|
|
696
|
+
esac
|
|
697
|
+
return 0
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
function ask_lock() {
|
|
701
|
+
[[ -n $2 ]] && add_widget 0 flowing -c "$2"
|
|
702
|
+
add_widget 0 flowing -c "%BDoes this look like a %b%2Flock%f%B?%b"
|
|
703
|
+
add_widget 0 flowing -c "reference: $(href https://fontawesome.com/icons/lock)"
|
|
704
|
+
add_widget 0 print
|
|
705
|
+
add_widget 0 flowing -c -- "---> $1 <---"
|
|
706
|
+
add_widget 0 print
|
|
707
|
+
add_widget 3
|
|
708
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
709
|
+
add_widget 0 print
|
|
710
|
+
add_widget 1
|
|
711
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
712
|
+
add_widget 0 print
|
|
713
|
+
add_widget 2
|
|
714
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
715
|
+
ask ynr
|
|
716
|
+
case $choice in
|
|
717
|
+
r) return 1;;
|
|
718
|
+
y) cap_lock=1;;
|
|
719
|
+
n) cap_lock=0;;
|
|
720
|
+
esac
|
|
721
|
+
return 0
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
function ask_python() {
|
|
725
|
+
add_widget 0 flowing -c %BDoes this look like a "%b%2FPython logo%f%B?%b"
|
|
726
|
+
add_widget 0 flowing -c reference: "$(href https://fontawesome.com/icons/python)"
|
|
727
|
+
add_widget 0 print -P ""
|
|
728
|
+
add_widget 0 flowing -c -- "---> \uE63C <---"
|
|
729
|
+
add_widget 0 print -P ""
|
|
730
|
+
add_widget 3
|
|
731
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
732
|
+
add_widget 0 print -P ""
|
|
733
|
+
add_widget 1
|
|
734
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
735
|
+
add_widget 0 print -P ""
|
|
736
|
+
add_widget 2
|
|
737
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
738
|
+
ask ynr
|
|
739
|
+
case $choice in
|
|
740
|
+
r) return 1;;
|
|
741
|
+
y) cap_python=1;;
|
|
742
|
+
n) cap_python=0;;
|
|
743
|
+
esac
|
|
744
|
+
return 0
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
function ask_quotes() {
|
|
748
|
+
add_widget 0 flowing -c %BDoes this look like%b "%2F><%f" %Bbut taller and "fatter?%b"
|
|
749
|
+
add_widget 0 print -P ""
|
|
750
|
+
add_widget 0 flowing -c -- "---> \u276F\u276E <---"
|
|
751
|
+
add_widget 0 print -P ""
|
|
752
|
+
add_widget 3
|
|
753
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
754
|
+
add_widget 0 print -P ""
|
|
755
|
+
add_widget 1
|
|
756
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
757
|
+
add_widget 0 print -P ""
|
|
758
|
+
add_widget 2
|
|
759
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
760
|
+
ask ynr
|
|
761
|
+
case $choice in
|
|
762
|
+
r) return 1;;
|
|
763
|
+
y) cap_quotes=1;;
|
|
764
|
+
n) cap_quotes=0;;
|
|
765
|
+
esac
|
|
766
|
+
return 0
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
function ask_arrow() {
|
|
770
|
+
# This condition holds as long as zsh is compiled with unicode 9 support.
|
|
771
|
+
if (( ${(m)#${(g::)1}} != 1 )); then
|
|
772
|
+
cap_arrow=0
|
|
773
|
+
return
|
|
774
|
+
fi
|
|
775
|
+
[[ -n $2 ]] && add_widget 0 flowing -c "$2"
|
|
776
|
+
add_widget 0 flowing -c %BDoes this look like an%b "%2Fupwards arrow%f%B?%b"
|
|
777
|
+
add_widget 0 flowing -c reference: "$(href https://graphemica.com/%F0%9F%A0%89)"
|
|
778
|
+
add_widget 0 print -P ""
|
|
779
|
+
add_widget 0 flowing -c -- "---> $1 <---"
|
|
780
|
+
add_widget 0 print -P ""
|
|
781
|
+
add_widget 3
|
|
782
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
783
|
+
add_widget 0 print -P ""
|
|
784
|
+
add_widget 1
|
|
785
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
786
|
+
add_widget 0 print -P ""
|
|
787
|
+
add_widget 2
|
|
788
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
789
|
+
ask ynr
|
|
790
|
+
case $choice in
|
|
791
|
+
r) return 1;;
|
|
792
|
+
y) cap_arrow=1;;
|
|
793
|
+
n) cap_arrow=0;;
|
|
794
|
+
esac
|
|
795
|
+
return 0
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
function print_indented() {
|
|
799
|
+
local -i max_width=$1
|
|
800
|
+
local text=$2
|
|
801
|
+
local -i indent='(wizard_columns - max_width) / 2'
|
|
802
|
+
print -P "${(l:$indent:: :)}$text"
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
function ask_width() {
|
|
806
|
+
add_widget 0 flowing -c %BWhat digit is the%b "%2Fdownwards arrow%f" %Bpointing "at?%b"
|
|
807
|
+
add_widget 0 print -P ""
|
|
808
|
+
add_widget 0 print_indented 11 '%3F\UF0734%f %3F\UF0734%f %3F\UF0734%f %2F\UF072E%f'
|
|
809
|
+
add_widget 0 print_indented 11 ' 111222'
|
|
810
|
+
add_widget 0 print -P ""
|
|
811
|
+
add_widget 3
|
|
812
|
+
add_widget 0 print -P "%B(1) It is pointing at '1'.%b"
|
|
813
|
+
add_widget 0 print -P ""
|
|
814
|
+
add_widget 1
|
|
815
|
+
add_widget 0 print -P "%B(2) It is pointing at '2'.%b"
|
|
816
|
+
add_widget 0 print -P ""
|
|
817
|
+
add_widget 1
|
|
818
|
+
add_widget 0 print -P "%B(3) Something else.%b"
|
|
819
|
+
add_widget 0 print -P ""
|
|
820
|
+
add_widget 2
|
|
821
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
822
|
+
ask 123r
|
|
823
|
+
case $choice in
|
|
824
|
+
r) return 1;;
|
|
825
|
+
1) cap_arrow=1;;
|
|
826
|
+
2|3) cap_arrow=0;;
|
|
827
|
+
esac
|
|
828
|
+
return 0
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
function ask_icon_padding() {
|
|
832
|
+
if [[ $POWERLEVEL9K_MODE == (powerline|compatible|ascii) ]]; then
|
|
833
|
+
POWERLEVEL9K_ICON_PADDING=none
|
|
834
|
+
return 0
|
|
835
|
+
fi
|
|
836
|
+
|
|
837
|
+
local text="X"
|
|
838
|
+
text+="%1F${icons[VCS_GIT_ICON]// }%fX"
|
|
839
|
+
text+="%2F${icons[VCS_GIT_GITHUB_ICON]// }%fX"
|
|
840
|
+
text+="%3F${icons[TIME_ICON]// }%fX"
|
|
841
|
+
text+="%4F${icons[RUBY_ICON]// }%fX"
|
|
842
|
+
text+="%5F${icons[HOME_ICON]// }%fX"
|
|
843
|
+
text+="%6F${icons[HOME_SUB_ICON]// }%fX"
|
|
844
|
+
text+="%1F${icons[FOLDER_ICON]// }%fX"
|
|
845
|
+
text+="%2F${icons[RAM_ICON]// }%fX"
|
|
846
|
+
|
|
847
|
+
add_widget 0 flowing -c %BDo all these icons "%b%2Ffit between the crosses%f%B?%b"
|
|
848
|
+
add_widget 0 print -P ""
|
|
849
|
+
add_widget 0 flowing -c -- "---> $text <---"
|
|
850
|
+
add_widget 0 print -P ""
|
|
851
|
+
add_widget 3
|
|
852
|
+
add_widget 0 flowing +c -i 5 "%B(y) Yes." Icons are very close to the crosses but there is "%b%2Fno overlap%f%B.%b"
|
|
853
|
+
add_widget 0 print -P ""
|
|
854
|
+
add_widget 1
|
|
855
|
+
add_widget 0 flowing +c -i 5 "%B(n) No." Some icons "%b%2Foverlap%f%B" neighbouring crosses.%b
|
|
856
|
+
add_widget 0 print -P ""
|
|
857
|
+
add_widget 2
|
|
858
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
859
|
+
ask ynr
|
|
860
|
+
case $choice in
|
|
861
|
+
r) return 1;;
|
|
862
|
+
y)
|
|
863
|
+
POWERLEVEL9K_ICON_PADDING=none
|
|
864
|
+
options+='small icons'
|
|
865
|
+
;;
|
|
866
|
+
n)
|
|
867
|
+
POWERLEVEL9K_ICON_PADDING=moderate
|
|
868
|
+
options+='large icons'
|
|
869
|
+
up_triangle+=' '
|
|
870
|
+
down_triangle+=' '
|
|
871
|
+
slanted_bar='\uE0BD '
|
|
872
|
+
;;
|
|
873
|
+
esac
|
|
874
|
+
return 0
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
function ask_style() {
|
|
878
|
+
if (( terminfo[colors] < 256 )); then
|
|
879
|
+
style=lean_8colors
|
|
880
|
+
left_frame=0
|
|
881
|
+
right_frame=0
|
|
882
|
+
frame_color=(0 7 2 4)
|
|
883
|
+
color_name=(Black White Green Blue)
|
|
884
|
+
options+=lean_8colors
|
|
885
|
+
return 0
|
|
886
|
+
fi
|
|
887
|
+
local extra
|
|
888
|
+
add_widget 0 flowing -c "%BPrompt Style%b"
|
|
889
|
+
add_widget 0 print
|
|
890
|
+
add_widget 1
|
|
891
|
+
add_widget 0 print -P "%B(1) Lean.%b"
|
|
892
|
+
add_prompt style=lean left_frame=0 right_frame=0
|
|
893
|
+
add_widget 0 print -P "%B(2) Classic.%b"
|
|
894
|
+
add_prompt style=classic
|
|
895
|
+
add_widget 0 print -P "%B(3) Rainbow.%b"
|
|
896
|
+
add_prompt style=rainbow
|
|
897
|
+
if [[ $POWERLEVEL9K_MODE != ascii ]]; then
|
|
898
|
+
extra+=4
|
|
899
|
+
add_widget 0 print -P "%B(4) Pure.%b"
|
|
900
|
+
add_prompt style=pure
|
|
901
|
+
fi
|
|
902
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
903
|
+
ask 123${extra}r
|
|
904
|
+
case $choice in
|
|
905
|
+
r) return 1;;
|
|
906
|
+
1) style=lean; left_frame=0; right_frame=0; options+=lean;;
|
|
907
|
+
2) style=classic; options+=classic;;
|
|
908
|
+
3) style=rainbow; options+=rainbow;;
|
|
909
|
+
4) style=pure; empty_line=1; options+=pure;;
|
|
910
|
+
esac
|
|
911
|
+
return 0
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
function ask_charset() {
|
|
915
|
+
[[ $style == (lean*|classic|rainbow) && $POWERLEVEL9K_MODE != ascii ]] || return 0
|
|
916
|
+
add_widget 0 flowing -c "%BCharacter Set%b"
|
|
917
|
+
add_widget 0 print -P ""
|
|
918
|
+
add_widget 1
|
|
919
|
+
add_widget 0 print -P "%B(1) Unicode.%b"
|
|
920
|
+
add_prompt
|
|
921
|
+
add_widget 0 print -P "%B(2) ASCII.%b"
|
|
922
|
+
add_prompt \
|
|
923
|
+
left_sep= \
|
|
924
|
+
right_sep= \
|
|
925
|
+
left_subsep='|' \
|
|
926
|
+
right_subsep='|' \
|
|
927
|
+
left_head= \
|
|
928
|
+
right_head= \
|
|
929
|
+
prompt_char='>' \
|
|
930
|
+
left_frame=0 \
|
|
931
|
+
right_frame=0
|
|
932
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
933
|
+
ask 12r
|
|
934
|
+
case $choice in
|
|
935
|
+
r) return 1;;
|
|
936
|
+
1) options+=unicode;;
|
|
937
|
+
2)
|
|
938
|
+
options+=ascii
|
|
939
|
+
left_sep=
|
|
940
|
+
right_sep=
|
|
941
|
+
left_subsep='|'
|
|
942
|
+
right_subsep='|'
|
|
943
|
+
left_head=
|
|
944
|
+
right_head=
|
|
945
|
+
prompt_char='>'
|
|
946
|
+
left_frame=0
|
|
947
|
+
right_frame=0
|
|
948
|
+
POWERLEVEL9K_MODE=ascii
|
|
949
|
+
POWERLEVEL9K_ICON_PADDING=none
|
|
950
|
+
cap_diamond=0
|
|
951
|
+
cap_python=0
|
|
952
|
+
cap_arrow=0
|
|
953
|
+
cap_lock=0
|
|
954
|
+
cap_quotes=0
|
|
955
|
+
;;
|
|
956
|
+
esac
|
|
957
|
+
return 0
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
function ask_color_scheme() {
|
|
961
|
+
(( terminfo[colors] < 256 )) && return
|
|
962
|
+
if [[ $style == lean ]]; then
|
|
963
|
+
add_widget 0 flowing -c "%BPrompt Colors%b"
|
|
964
|
+
add_widget 0 print -P ""
|
|
965
|
+
add_widget 1
|
|
966
|
+
add_widget 0 print -P "%B(1) 256 colors.%b"
|
|
967
|
+
add_prompt style=lean
|
|
968
|
+
add_widget 0 print -P "%B(2) 8 colors.%b"
|
|
969
|
+
add_prompt style=lean_8colors
|
|
970
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
971
|
+
ask 12r
|
|
972
|
+
case $choice in
|
|
973
|
+
r) return 1;;
|
|
974
|
+
1) style=lean;;
|
|
975
|
+
2)
|
|
976
|
+
style=lean_8colors
|
|
977
|
+
frame_color=(0 7 2 4)
|
|
978
|
+
color_name=(Black White Green Blue)
|
|
979
|
+
;;
|
|
980
|
+
esac
|
|
981
|
+
options=(${options:#lean} $style)
|
|
982
|
+
elif [[ $style == pure && $has_truecolor == 1 ]]; then
|
|
983
|
+
add_widget 0 flowing -c "%BPrompt Colors%b"
|
|
984
|
+
add_widget 0 print -P ""
|
|
985
|
+
add_widget 1
|
|
986
|
+
add_widget 0 print -P "%B(1) Original.%b"
|
|
987
|
+
add_prompt "pure_color=(${(j: :)${(@q)${(@kv)pure_original}}})"
|
|
988
|
+
add_widget 0 print -P "%B(2) Snazzy.%b"
|
|
989
|
+
add_prompt "pure_color=(${(j: :)${(@q)${(@kv)pure_snazzy}}})"
|
|
990
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
991
|
+
ask 12r
|
|
992
|
+
case $choice in
|
|
993
|
+
r) return 1;;
|
|
994
|
+
1)
|
|
995
|
+
pure_color=(${(kv)pure_original})
|
|
996
|
+
options+=original
|
|
997
|
+
;;
|
|
998
|
+
2)
|
|
999
|
+
pure_color=(${(kv)pure_snazzy})
|
|
1000
|
+
options+=snazzy
|
|
1001
|
+
;;
|
|
1002
|
+
esac
|
|
1003
|
+
fi
|
|
1004
|
+
return 0
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
function ask_color() {
|
|
1008
|
+
[[ $style != classic ]] && return
|
|
1009
|
+
add_widget 0 flowing -c "%BPrompt Color%b"
|
|
1010
|
+
add_widget 0 print
|
|
1011
|
+
add_widget 1
|
|
1012
|
+
add_widget 0 print -P "%B(1) $color_name[1].%b"
|
|
1013
|
+
add_prompt color=1
|
|
1014
|
+
add_widget 0 print -P "%B(2) $color_name[2].%b"
|
|
1015
|
+
add_prompt color=2
|
|
1016
|
+
add_widget 0 print -P "%B(3) $color_name[3].%b"
|
|
1017
|
+
add_prompt color=3
|
|
1018
|
+
add_widget 0 print -P "%B(4) $color_name[4].%b"
|
|
1019
|
+
add_prompt color=4
|
|
1020
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1021
|
+
ask 1234r
|
|
1022
|
+
case $choice in
|
|
1023
|
+
r) return 1;;
|
|
1024
|
+
[1-4]) color=$choice;;
|
|
1025
|
+
esac
|
|
1026
|
+
options+=${${(L)color_name[color]}//ı/i}
|
|
1027
|
+
return 0
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
function print_frame_marker() {
|
|
1031
|
+
local label="(1) $color_name[1]."
|
|
1032
|
+
local -i n='wizard_columns - 7'
|
|
1033
|
+
local -i m=$((n - $#label))
|
|
1034
|
+
print -P "${(l:$n:: :)}frame"
|
|
1035
|
+
print -P "%B$label%b${(l:$m:: :)} |"
|
|
1036
|
+
print -P "${(l:$n:: :)} v"
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
function ask_ornaments_color() {
|
|
1040
|
+
[[ $style != (rainbow|lean*) || $num_lines == 1 ]] && return
|
|
1041
|
+
[[ $gap_char == ' ' && $left_frame == 0 && $right_frame == 0 ]] && return
|
|
1042
|
+
local ornaments=()
|
|
1043
|
+
[[ $gap_char != ' ' ]] && ornaments+=Connection
|
|
1044
|
+
(( left_frame || right_frame )) && ornaments+=Frame
|
|
1045
|
+
add_widget 0 flowing -c "%B${(j: & :)ornaments} Color%b"
|
|
1046
|
+
if (( left_frame || right_frame )); then
|
|
1047
|
+
add_widget 0 print_frame_marker
|
|
1048
|
+
add_widget 3 print -P "%B(1) $color_name[1].%b"
|
|
1049
|
+
add_prompt_n color=1
|
|
1050
|
+
add_widget 0 print
|
|
1051
|
+
add_widget 2
|
|
1052
|
+
else
|
|
1053
|
+
add_widget 1
|
|
1054
|
+
add_widget 0 print -P "%B(1) $color_name[1].%b"
|
|
1055
|
+
add_prompt color=1
|
|
1056
|
+
fi
|
|
1057
|
+
add_widget 0 print -P "%B(2) $color_name[2].%b"
|
|
1058
|
+
add_prompt color=2
|
|
1059
|
+
add_widget 0 print -P "%B(3) $color_name[3].%b"
|
|
1060
|
+
add_prompt color=3
|
|
1061
|
+
add_widget 0 print -P "%B(4) $color_name[4].%b"
|
|
1062
|
+
add_prompt color=4
|
|
1063
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1064
|
+
ask 1234r
|
|
1065
|
+
case $choice in
|
|
1066
|
+
r) return 1;;
|
|
1067
|
+
[1-4]) color=$choice;;
|
|
1068
|
+
esac
|
|
1069
|
+
options+=${${(L)color_name[color]}//ı/i}-ornaments
|
|
1070
|
+
return 0
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
function ask_time() {
|
|
1074
|
+
local extra
|
|
1075
|
+
add_widget 0 flowing -c "%BShow current time?%b"
|
|
1076
|
+
add_widget 0 print
|
|
1077
|
+
add_widget 1
|
|
1078
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
1079
|
+
add_prompt time=
|
|
1080
|
+
add_widget 0 print -P "%B(1) 12-hour format.%b"
|
|
1081
|
+
add_prompt time=$time_12h
|
|
1082
|
+
add_widget 0 print -P "%B(2) 24-hour format.%b"
|
|
1083
|
+
add_prompt time=$time_24h
|
|
1084
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1085
|
+
ask n12r
|
|
1086
|
+
case $choice in
|
|
1087
|
+
r) return 1;;
|
|
1088
|
+
n) time=;;
|
|
1089
|
+
1) time=$time_12h; options+='12h time';;
|
|
1090
|
+
2) time=$time_24h; options+='24h time';;
|
|
1091
|
+
esac
|
|
1092
|
+
return 0
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
function ask_use_rprompt() {
|
|
1096
|
+
[[ $style != pure ]] && return
|
|
1097
|
+
add_widget 0 flowing -c "%BNon-permanent content location%b"
|
|
1098
|
+
add_widget 0 print
|
|
1099
|
+
add_widget 1
|
|
1100
|
+
add_widget 0 print -P "%B(1) Left.%b"
|
|
1101
|
+
add_prompt
|
|
1102
|
+
add_widget 0 print -P "%B(2) Right.%b"
|
|
1103
|
+
add_prompt pure_use_rprompt=
|
|
1104
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1105
|
+
ask 12r
|
|
1106
|
+
case $choice in
|
|
1107
|
+
r) return 1;;
|
|
1108
|
+
1) ;;
|
|
1109
|
+
2) pure_use_rprompt=; options+=rprompt;;
|
|
1110
|
+
esac
|
|
1111
|
+
return 0
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
function os_icon_name() {
|
|
1115
|
+
local uname="$(uname)"
|
|
1116
|
+
if [[ $uname == Linux && "$(uname -o 2>/dev/null)" == Android ]]; then
|
|
1117
|
+
echo ANDROID_ICON
|
|
1118
|
+
else
|
|
1119
|
+
case $uname in
|
|
1120
|
+
SunOS) echo SUNOS_ICON;;
|
|
1121
|
+
Darwin) echo APPLE_ICON;;
|
|
1122
|
+
CYGWIN_NT-*|MSYS_NT-*|MINGW64_NT-*|MINGW32_NT-*) echo WINDOWS_ICON;;
|
|
1123
|
+
FreeBSD|OpenBSD|DragonFly) echo FREEBSD_ICON;;
|
|
1124
|
+
Linux)
|
|
1125
|
+
local os_release_id
|
|
1126
|
+
if [[ -r /etc/os-release ]]; then
|
|
1127
|
+
local lines=(${(f)"$(</etc/os-release)"})
|
|
1128
|
+
lines=(${(@M)lines:#ID=*})
|
|
1129
|
+
(( $#lines == 1 )) && os_release_id=${(Q)${lines[1]#ID=}}
|
|
1130
|
+
elif [[ -e /etc/artix-release ]]; then
|
|
1131
|
+
os_release_id=artix
|
|
1132
|
+
fi
|
|
1133
|
+
case $os_release_id in
|
|
1134
|
+
*arch*) echo LINUX_ARCH_ICON;;
|
|
1135
|
+
*raspbian*) echo LINUX_RASPBIAN_ICON;;
|
|
1136
|
+
*debian*)
|
|
1137
|
+
if [[ -f /etc/apt/sources.list.d/raspi.list ]]; then
|
|
1138
|
+
echo LINUX_RASPBIAN_ICON
|
|
1139
|
+
else
|
|
1140
|
+
echo LINUX_DEBIAN_ICON
|
|
1141
|
+
fi
|
|
1142
|
+
;;
|
|
1143
|
+
*raspbian*) echo LINUX_RASPBIAN_ICON;;
|
|
1144
|
+
*ubuntu*) echo LINUX_UBUNTU_ICON;;
|
|
1145
|
+
*elementary*) echo LINUX_ELEMENTARY_ICON;;
|
|
1146
|
+
*fedora*) echo LINUX_FEDORA_ICON;;
|
|
1147
|
+
*coreos*) echo LINUX_COREOS_ICON;;
|
|
1148
|
+
*kali*) echo LINUX_KALI_ICON;;
|
|
1149
|
+
*gentoo*) echo LINUX_GENTOO_ICON;;
|
|
1150
|
+
*mageia*) echo LINUX_MAGEIA_ICON;;
|
|
1151
|
+
*centos*) echo LINUX_CENTOS_ICON;;
|
|
1152
|
+
*opensuse*|*tumbleweed*) echo LINUX_OPENSUSE_ICON;;
|
|
1153
|
+
*sabayon*) echo LINUX_SABAYON_ICON;;
|
|
1154
|
+
*slackware*) echo LINUX_SLACKWARE_ICON;;
|
|
1155
|
+
*linuxmint*) echo LINUX_MINT_ICON;;
|
|
1156
|
+
*alpine*) echo LINUX_ALPINE_ICON;;
|
|
1157
|
+
*aosc*) echo LINUX_AOSC_ICON;;
|
|
1158
|
+
*nixos*) echo LINUX_NIXOS_ICON;;
|
|
1159
|
+
*devuan*) echo LINUX_DEVUAN_ICON;;
|
|
1160
|
+
*manjaro*) echo LINUX_MANJARO_ICON;;
|
|
1161
|
+
*void*) echo LINUX_VOID_ICON;;
|
|
1162
|
+
*artix*) echo LINUX_ARTIX_ICON;;
|
|
1163
|
+
*rhel*) echo LINUX_RHEL_ICON;;
|
|
1164
|
+
amzn) echo LINUX_AMZN_ICON;;
|
|
1165
|
+
endeavouros) echo LINUX_ENDEAVOUROS_ICON;;
|
|
1166
|
+
rocky) echo LINUX_ROCKY_ICON;;
|
|
1167
|
+
almalinux) echo LINUX_ALMALINUX_ICON;;
|
|
1168
|
+
guix) echo LINUX_GUIX_ICON;;
|
|
1169
|
+
neon) echo LINUX_NEON_ICON;;
|
|
1170
|
+
*) echo LINUX_ICON;;
|
|
1171
|
+
esac
|
|
1172
|
+
;;
|
|
1173
|
+
esac
|
|
1174
|
+
fi
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
function ask_extra_icons() {
|
|
1178
|
+
if [[ $style == pure || $POWERLEVEL9K_MODE == (powerline|compatible|ascii) ]]; then
|
|
1179
|
+
return 0
|
|
1180
|
+
fi
|
|
1181
|
+
local os_icon=${(g::)icons[$(os_icon_name)]}
|
|
1182
|
+
local dir_icon=${(g::)icons[HOME_SUB_ICON]}
|
|
1183
|
+
local vcs_icon=${(g::)icons[VCS_GIT_GITHUB_ICON]}
|
|
1184
|
+
local branch_icon=${(g::)icons[VCS_BRANCH_ICON]}
|
|
1185
|
+
local duration_icon=${(g::)icons[EXECUTION_TIME_ICON]}
|
|
1186
|
+
local time_icon=${(g::)icons[TIME_ICON]}
|
|
1187
|
+
branch_icon=${branch_icon// }
|
|
1188
|
+
local few=('' '' '' '' '')
|
|
1189
|
+
local many=("$os_icon" "$dir_icon " "$vcs_icon $branch_icon " "$duration_icon " "$time_icon ")
|
|
1190
|
+
add_widget 0 flowing -c "%BIcons%b"
|
|
1191
|
+
add_widget 0 print
|
|
1192
|
+
add_widget 1
|
|
1193
|
+
add_widget 0 print -P "%B(1) Few icons.%b"
|
|
1194
|
+
add_prompt "extra_icons=(${(j: :)${(@q)few}})"
|
|
1195
|
+
add_widget 0 print -P "%B(2) Many icons.%b"
|
|
1196
|
+
add_prompt "extra_icons=(${(j: :)${(@q)many}})"
|
|
1197
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1198
|
+
ask 12r
|
|
1199
|
+
case $choice in
|
|
1200
|
+
r) return 1;;
|
|
1201
|
+
1) extra_icons=("$few[@]"); options+='few icons';;
|
|
1202
|
+
2) extra_icons=("$many[@]"); options+='many icons';;
|
|
1203
|
+
esac
|
|
1204
|
+
return 0
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
function ask_prefixes() {
|
|
1208
|
+
if [[ $style == pure ]]; then
|
|
1209
|
+
return 0
|
|
1210
|
+
fi
|
|
1211
|
+
local concise=('' '' '')
|
|
1212
|
+
local fluent=('on ' 'took ' 'at ')
|
|
1213
|
+
add_widget 0 flowing -c "%BPrompt Flow%b"
|
|
1214
|
+
add_widget 0 print
|
|
1215
|
+
add_widget 1
|
|
1216
|
+
add_widget 0 print -P "%B(1) Concise.%b"
|
|
1217
|
+
add_prompt "prefixes=(${(j: :)${(@q)concise}})"
|
|
1218
|
+
add_widget 0 print -P "%B(2) Fluent.%b"
|
|
1219
|
+
add_prompt "prefixes=(${(j: :)${(@q)fluent}})"
|
|
1220
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1221
|
+
ask 12r
|
|
1222
|
+
case $choice in
|
|
1223
|
+
r) return 1;;
|
|
1224
|
+
1) prefixes=("$concise[@]"); options+=concise;;
|
|
1225
|
+
2) prefixes=("$fluent[@]"); options+=fluent;;
|
|
1226
|
+
esac
|
|
1227
|
+
return 0
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
function ask_separators() {
|
|
1231
|
+
if [[ $style != (classic|rainbow) || $cap_diamond != 1 ]]; then
|
|
1232
|
+
return 0
|
|
1233
|
+
fi
|
|
1234
|
+
local extra
|
|
1235
|
+
add_widget 0 flowing -c "%BPrompt Separators%b"
|
|
1236
|
+
add_widget 0 print -Pl " separator" "%B(1) Angled.%b /" " /"
|
|
1237
|
+
add_widget 3 print -P "%B(1) Angled.%b"
|
|
1238
|
+
add_prompt_n left_sep=$right_triangle right_sep=$left_triangle left_subsep=$right_angle right_subsep=$left_angle
|
|
1239
|
+
add_widget 0 print
|
|
1240
|
+
add_widget 2
|
|
1241
|
+
add_widget 0 print -P "%B(2) Vertical.%b"
|
|
1242
|
+
add_prompt left_sep='' right_sep='' left_subsep=$vertical_bar right_subsep=$vertical_bar
|
|
1243
|
+
if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
|
|
1244
|
+
extra+=3
|
|
1245
|
+
add_widget 0 print -P "%B(3) Slanted.%b"
|
|
1246
|
+
add_prompt left_sep=$down_triangle right_sep=$up_triangle left_subsep=$slanted_bar right_subsep=$slanted_bar
|
|
1247
|
+
extra+=4
|
|
1248
|
+
add_widget 0 print -P "%B(4) Round.%b"
|
|
1249
|
+
add_prompt left_sep=$right_circle right_sep=$left_circle left_subsep=$right_arc right_subsep=$left_arc
|
|
1250
|
+
fi
|
|
1251
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1252
|
+
ask 12${extra}r
|
|
1253
|
+
case $choice in
|
|
1254
|
+
r) return 1;;
|
|
1255
|
+
1)
|
|
1256
|
+
left_sep=$right_triangle
|
|
1257
|
+
right_sep=$left_triangle
|
|
1258
|
+
left_subsep=$right_angle
|
|
1259
|
+
right_subsep=$left_angle
|
|
1260
|
+
options+='angled separators'
|
|
1261
|
+
;;
|
|
1262
|
+
2)
|
|
1263
|
+
left_sep=''
|
|
1264
|
+
right_sep=''
|
|
1265
|
+
left_subsep=$vertical_bar
|
|
1266
|
+
right_subsep=$vertical_bar
|
|
1267
|
+
options+='vertical separators'
|
|
1268
|
+
;;
|
|
1269
|
+
3)
|
|
1270
|
+
left_sep=$down_triangle
|
|
1271
|
+
right_sep=$up_triangle
|
|
1272
|
+
left_subsep=$slanted_bar
|
|
1273
|
+
right_subsep=$slanted_bar
|
|
1274
|
+
options+='slanted separators'
|
|
1275
|
+
;;
|
|
1276
|
+
4)
|
|
1277
|
+
left_sep=$right_circle
|
|
1278
|
+
right_sep=$left_circle
|
|
1279
|
+
left_subsep=$right_arc
|
|
1280
|
+
right_subsep=$left_arc
|
|
1281
|
+
options+='round separators'
|
|
1282
|
+
;;
|
|
1283
|
+
esac
|
|
1284
|
+
return 0
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
function ask_heads() {
|
|
1288
|
+
if [[ $style != (classic|rainbow) || $POWERLEVEL9K_MODE == ascii ]]; then
|
|
1289
|
+
return 0
|
|
1290
|
+
fi
|
|
1291
|
+
local extra
|
|
1292
|
+
add_widget 0 flowing -c "%BPrompt Heads%b"
|
|
1293
|
+
add_widget 0 print -Pl " head" "%B(1) Flat.%b |" " v"
|
|
1294
|
+
add_widget 3 print -P "%B(1) Flat.%b"
|
|
1295
|
+
add_prompt_n left_head= right_head=
|
|
1296
|
+
add_widget 0 print
|
|
1297
|
+
add_widget 2
|
|
1298
|
+
add_widget 0 print -P "%B(2) Blurred.%b"
|
|
1299
|
+
add_prompt left_head=$fade_out right_head=$fade_in
|
|
1300
|
+
if (( cap_diamond )); then
|
|
1301
|
+
extra+=3
|
|
1302
|
+
add_widget 0 print -P "%B(3) Sharp.%b"
|
|
1303
|
+
add_prompt left_head=$right_triangle right_head=$left_triangle
|
|
1304
|
+
if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
|
|
1305
|
+
extra+=4
|
|
1306
|
+
add_widget 0 print -P "%B(4) Slanted.%b"
|
|
1307
|
+
add_prompt left_head=$down_triangle right_head=$up_triangle
|
|
1308
|
+
extra+=5
|
|
1309
|
+
add_widget 0 print -P "%B(5) Round.%b"
|
|
1310
|
+
add_prompt left_head=$right_circle right_head=$left_circle
|
|
1311
|
+
fi
|
|
1312
|
+
fi
|
|
1313
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1314
|
+
ask 12${extra}r
|
|
1315
|
+
case $choice in
|
|
1316
|
+
r) return 1;;
|
|
1317
|
+
1)
|
|
1318
|
+
left_head=
|
|
1319
|
+
right_head=
|
|
1320
|
+
options+='flat heads'
|
|
1321
|
+
;;
|
|
1322
|
+
2)
|
|
1323
|
+
left_head=$fade_out
|
|
1324
|
+
right_head=$fade_in
|
|
1325
|
+
options+='blurred heads'
|
|
1326
|
+
;;
|
|
1327
|
+
3)
|
|
1328
|
+
left_head=$right_triangle
|
|
1329
|
+
right_head=$left_triangle
|
|
1330
|
+
options+='sharp heads'
|
|
1331
|
+
;;
|
|
1332
|
+
4)
|
|
1333
|
+
left_head=$down_triangle
|
|
1334
|
+
right_head=$up_triangle
|
|
1335
|
+
options+='slanted heads'
|
|
1336
|
+
;;
|
|
1337
|
+
5)
|
|
1338
|
+
left_head=$right_circle
|
|
1339
|
+
right_head=$left_circle
|
|
1340
|
+
options+='round heads'
|
|
1341
|
+
;;
|
|
1342
|
+
esac
|
|
1343
|
+
return 0
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
function print_tail_marker() {
|
|
1347
|
+
local label='(1) Flat.'
|
|
1348
|
+
local -i n='wizard_columns - 7'
|
|
1349
|
+
local -i m=$((n - $#label))
|
|
1350
|
+
print -P "${(l:$n:: :)}tail"
|
|
1351
|
+
print -P "%B$label%b${(l:$m:: :)} |"
|
|
1352
|
+
print -P "${(l:$n:: :)} v"
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
function ask_tails() {
|
|
1356
|
+
if [[ $style != (classic|rainbow) || $POWERLEVEL9K_MODE == ascii ]]; then
|
|
1357
|
+
return 0
|
|
1358
|
+
fi
|
|
1359
|
+
local extra
|
|
1360
|
+
add_widget 0 flowing -c "%BPrompt Tails%b"
|
|
1361
|
+
add_widget 0 print_tail_marker
|
|
1362
|
+
add_widget 3 print -P "%B(1) Flat.%b"
|
|
1363
|
+
add_prompt_n left_tail='' right_tail=''
|
|
1364
|
+
add_widget 0 print
|
|
1365
|
+
add_widget 2
|
|
1366
|
+
add_widget 0 print -P "%B(2) Blurred.%b"
|
|
1367
|
+
add_prompt left_tail=$fade_in right_tail=$fade_out
|
|
1368
|
+
if (( cap_diamond )); then
|
|
1369
|
+
extra+=3
|
|
1370
|
+
add_widget 0 print -P "%B(3) Sharp.%b"
|
|
1371
|
+
add_prompt left_tail=$left_triangle right_tail=$right_triangle
|
|
1372
|
+
if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
|
|
1373
|
+
extra+=4
|
|
1374
|
+
add_widget 0 print -P "%B(4) Slanted.%b"
|
|
1375
|
+
add_prompt left_tail=$up_triangle right_tail=$down_triangle
|
|
1376
|
+
extra+=5
|
|
1377
|
+
add_widget 0 print -P "%B(5) Round.%b"
|
|
1378
|
+
add_prompt left_tail=$left_circle right_tail=$right_circle
|
|
1379
|
+
fi
|
|
1380
|
+
fi
|
|
1381
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1382
|
+
ask 12${extra}r
|
|
1383
|
+
case $choice in
|
|
1384
|
+
r) return 1;;
|
|
1385
|
+
1) left_tail=''; right_tail=''; options+='flat tails';;
|
|
1386
|
+
2) left_tail=$fade_in; right_tail=$fade_out; options+='blurred tails';;
|
|
1387
|
+
3)
|
|
1388
|
+
left_tail=$left_triangle
|
|
1389
|
+
right_tail=$right_triangle
|
|
1390
|
+
options+='sharp tails'
|
|
1391
|
+
;;
|
|
1392
|
+
4)
|
|
1393
|
+
left_tail=$up_triangle
|
|
1394
|
+
right_tail=$down_triangle
|
|
1395
|
+
options+='slanted tails'
|
|
1396
|
+
;;
|
|
1397
|
+
5)
|
|
1398
|
+
left_tail=$left_circle
|
|
1399
|
+
right_tail=$right_circle
|
|
1400
|
+
options+='round tails'
|
|
1401
|
+
;;
|
|
1402
|
+
esac
|
|
1403
|
+
return 0
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
function ask_num_lines() {
|
|
1407
|
+
add_widget 0 flowing -c "%BPrompt Height%b"
|
|
1408
|
+
add_widget 0 print
|
|
1409
|
+
add_widget 1
|
|
1410
|
+
add_widget 0 print -P "%B(1) One line.%b"
|
|
1411
|
+
add_prompt num_lines=1
|
|
1412
|
+
add_widget 0 print -P "%B(2) Two lines.%b"
|
|
1413
|
+
add_prompt num_lines=2
|
|
1414
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1415
|
+
ask 12r
|
|
1416
|
+
case $choice in
|
|
1417
|
+
r) return 1;;
|
|
1418
|
+
1) num_lines=1; options+='1 line';;
|
|
1419
|
+
2) num_lines=2; options+='2 lines';;
|
|
1420
|
+
esac
|
|
1421
|
+
return 0
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
function ask_gap_char() {
|
|
1425
|
+
[[ $num_lines != 2 || $style == pure ]] && return
|
|
1426
|
+
if [[ $POWERLEVEL9K_MODE == ascii ]]; then
|
|
1427
|
+
local dot='.'
|
|
1428
|
+
local dash='-'
|
|
1429
|
+
else
|
|
1430
|
+
local dot='·'
|
|
1431
|
+
local dash='─'
|
|
1432
|
+
fi
|
|
1433
|
+
add_widget 0 flowing -c "%BPrompt Connection%b"
|
|
1434
|
+
add_widget 0 print
|
|
1435
|
+
add_widget 1
|
|
1436
|
+
add_widget 0 print -P "%B(1) Disconnected.%b"
|
|
1437
|
+
add_prompt gap_char=" "
|
|
1438
|
+
add_widget 0 print -P "%B(2) Dotted.%b"
|
|
1439
|
+
add_prompt gap_char=$dot
|
|
1440
|
+
add_widget 0 print -P "%B(3) Solid.%b"
|
|
1441
|
+
add_prompt gap_char=$dash
|
|
1442
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1443
|
+
ask 123r
|
|
1444
|
+
case $choice in
|
|
1445
|
+
r) return 1;;
|
|
1446
|
+
1) gap_char=" "; options+=disconnected;;
|
|
1447
|
+
2) gap_char=$dot; options+=dotted;;
|
|
1448
|
+
3) gap_char=$dash; options+=solid;;
|
|
1449
|
+
esac
|
|
1450
|
+
return 0
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
function ask_frame() {
|
|
1454
|
+
if [[ $style != (classic|rainbow|lean*) || $num_lines != 2 || $POWERLEVEL9K_MODE == ascii ]]; then
|
|
1455
|
+
return 0
|
|
1456
|
+
fi
|
|
1457
|
+
add_widget 0 flowing -c "%BPrompt Frame%b"
|
|
1458
|
+
add_widget 0 print
|
|
1459
|
+
add_widget 1
|
|
1460
|
+
add_widget 0 print -P "%B(1) No frame.%b"
|
|
1461
|
+
add_prompt left_frame=0 right_frame=0
|
|
1462
|
+
add_widget 0 print -P "%B(2) Left.%b"
|
|
1463
|
+
add_prompt left_frame=1 right_frame=0
|
|
1464
|
+
add_widget 0 print -P "%B(3) Right.%b"
|
|
1465
|
+
add_prompt left_frame=0 right_frame=1
|
|
1466
|
+
add_widget 0 print -P "%B(4) Full.%b"
|
|
1467
|
+
add_prompt left_frame=1 right_frame=1
|
|
1468
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1469
|
+
ask 1234r
|
|
1470
|
+
case $choice in
|
|
1471
|
+
r) return 1;;
|
|
1472
|
+
1) left_frame=0; right_frame=0; options+='no frame';;
|
|
1473
|
+
2) left_frame=1; right_frame=0; options+='left frame';;
|
|
1474
|
+
3) left_frame=0; right_frame=1; options+='right frame';;
|
|
1475
|
+
4) left_frame=1; right_frame=1; options+='full frame';;
|
|
1476
|
+
esac
|
|
1477
|
+
return 0
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
function ask_empty_line() {
|
|
1481
|
+
add_widget 0 flowing -c "%BPrompt Spacing%b"
|
|
1482
|
+
add_widget 0 print
|
|
1483
|
+
add_widget 1
|
|
1484
|
+
add_widget 0 print -P "%B(1) Compact.%b"
|
|
1485
|
+
add_widget 0 print
|
|
1486
|
+
add_widget 1
|
|
1487
|
+
add_prompt_n
|
|
1488
|
+
add_prompt_n
|
|
1489
|
+
add_widget 0 print
|
|
1490
|
+
add_widget 2
|
|
1491
|
+
add_widget 0 print -P "%B(2) Sparse.%b"
|
|
1492
|
+
add_widget 0 print
|
|
1493
|
+
add_widget 1
|
|
1494
|
+
add_prompt_n
|
|
1495
|
+
add_widget 0 print
|
|
1496
|
+
add_prompt_n
|
|
1497
|
+
add_widget 0 print
|
|
1498
|
+
add_widget 2
|
|
1499
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1500
|
+
ask 12r
|
|
1501
|
+
case $choice in
|
|
1502
|
+
r) return 1;;
|
|
1503
|
+
1) empty_line=0; options+='compact';;
|
|
1504
|
+
2) empty_line=1; options+='sparse';;
|
|
1505
|
+
esac
|
|
1506
|
+
return 0
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
function print_instant_prompt_link() {
|
|
1510
|
+
local link='https://github.com/romkatv/powerlevel10k#instant-prompt'
|
|
1511
|
+
(( wizard_columns < $#link )) && return
|
|
1512
|
+
print
|
|
1513
|
+
flowing -c "$(href $link)"
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
function ask_instant_prompt() {
|
|
1517
|
+
if [[ $ZSH_VERSION != (5.<4->*|<6->.*) ]]; then
|
|
1518
|
+
instant_prompt=off
|
|
1519
|
+
options+=instant_prompt=auto-off
|
|
1520
|
+
return 0
|
|
1521
|
+
fi
|
|
1522
|
+
if (( $+functions[z4h] )); then
|
|
1523
|
+
instant_prompt=quiet
|
|
1524
|
+
options+=instant_prompt=auto-quiet
|
|
1525
|
+
return
|
|
1526
|
+
fi
|
|
1527
|
+
add_widget 0 flowing -c "%BInstant Prompt Mode%b"
|
|
1528
|
+
add_widget 0 print_instant_prompt_link
|
|
1529
|
+
add_widget 1
|
|
1530
|
+
add_widget 0 print
|
|
1531
|
+
add_widget 2
|
|
1532
|
+
add_widget 0 flowing +c -i 5 "%B(1) Verbose (recommended).%b"
|
|
1533
|
+
add_widget 0 print
|
|
1534
|
+
add_widget 1
|
|
1535
|
+
add_widget 0 flowing +c -i 5 "%B(2) Quiet.%b" Choose this if you\'ve read and understood \
|
|
1536
|
+
instant prompt documentation.
|
|
1537
|
+
add_widget 0 print
|
|
1538
|
+
add_widget 1
|
|
1539
|
+
add_widget 0 flowing +c -i 5 "%B(3) Off.%b" Choose this if you\'ve tried instant prompt \
|
|
1540
|
+
and found it incompatible with your zsh configuration files.
|
|
1541
|
+
add_widget 0 print
|
|
1542
|
+
add_widget 2
|
|
1543
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1544
|
+
ask 123r
|
|
1545
|
+
case $choice in
|
|
1546
|
+
r) return 1;;
|
|
1547
|
+
1) instant_prompt=verbose; options+=instant_prompt=verbose;;
|
|
1548
|
+
2) instant_prompt=quiet; options+=instant_prompt=quiet;;
|
|
1549
|
+
3) instant_prompt=off; options+=instant_prompt=off;;
|
|
1550
|
+
esac
|
|
1551
|
+
return 0
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
function ask_transient_prompt() {
|
|
1555
|
+
local disable_rprompt=$((num_lines == 1))
|
|
1556
|
+
local p=76
|
|
1557
|
+
[[ $style == pure ]] && p=$pure_color[magenta]
|
|
1558
|
+
[[ $style == lean_8colors ]] && p=2
|
|
1559
|
+
p="%F{$p}$prompt_char%f"
|
|
1560
|
+
add_widget 0 flowing -c "%BEnable Transient Prompt?%b"
|
|
1561
|
+
add_widget 0 print
|
|
1562
|
+
add_widget 1
|
|
1563
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
1564
|
+
add_widget 0 print
|
|
1565
|
+
add_widget 1
|
|
1566
|
+
add_widget 0 print -P "${(pl:$prompt_indent:: :)}$p %2Fgit%f pull"
|
|
1567
|
+
add_widget 3
|
|
1568
|
+
add_widget 0 print -P "${(pl:$prompt_indent:: :)}$p %2Fgit%f branch x"
|
|
1569
|
+
(( empty_line )) && add_widget 0 print
|
|
1570
|
+
add_prompt_n buffer="%2Fgit%f checkout x$cursor"
|
|
1571
|
+
add_widget 0 print
|
|
1572
|
+
add_widget 2
|
|
1573
|
+
add_widget 0 print -P "%B(n) No.%b"
|
|
1574
|
+
add_widget 0 print
|
|
1575
|
+
add_widget 1
|
|
1576
|
+
add_widget 0 buffer="%2Fgit%f pull" print_prompt
|
|
1577
|
+
add_widget 3
|
|
1578
|
+
(( empty_line )) && { add_widget 0 print; add_widget 3 }
|
|
1579
|
+
add_prompt_n buffer="%2Fgit%f branch x"
|
|
1580
|
+
(( empty_line )) && add_widget 0 print
|
|
1581
|
+
add_prompt_n buffer="%2Fgit%f checkout x$cursor"
|
|
1582
|
+
add_widget 0 print
|
|
1583
|
+
add_widget 2
|
|
1584
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1585
|
+
ask ynr
|
|
1586
|
+
case $choice in
|
|
1587
|
+
r) return 1;;
|
|
1588
|
+
y) transient_prompt=1; options+=transient_prompt;;
|
|
1589
|
+
n) transient_prompt=0;;
|
|
1590
|
+
esac
|
|
1591
|
+
return 0
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
function ask_config_overwrite() {
|
|
1595
|
+
config_backup=
|
|
1596
|
+
config_backup_u=0
|
|
1597
|
+
if [[ ! -e $__p9k_cfg_path ]]; then
|
|
1598
|
+
return 0
|
|
1599
|
+
fi
|
|
1600
|
+
add_widget 0 flowing -c Powerlevel10k config file already exists.
|
|
1601
|
+
add_widget 0 flowing -c "%BOverwrite" "%b%2F${__p9k_cfg_path_u//\\/\\\\}%f%B?%b"
|
|
1602
|
+
add_widget 0 print -P ""
|
|
1603
|
+
add_widget 0 print -P "%B(y) Yes.%b"
|
|
1604
|
+
add_widget 0 print -P ""
|
|
1605
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1606
|
+
ask yr
|
|
1607
|
+
case $choice in
|
|
1608
|
+
r) return 1;;
|
|
1609
|
+
y)
|
|
1610
|
+
if [[ -n "$TMPDIR" && ( ( -d "$TMPDIR" && -w "$TMPDIR" ) || ! ( -d /tmp && -w /tmp ) ) ]]; then
|
|
1611
|
+
local tmpdir=$TMPDIR
|
|
1612
|
+
local tmpdir_u='$TMPDIR'
|
|
1613
|
+
else
|
|
1614
|
+
local tmpdir=/tmp
|
|
1615
|
+
local tmpdir_u=/tmp
|
|
1616
|
+
fi
|
|
1617
|
+
if (( ! $+commands[mktemp] )) ||
|
|
1618
|
+
! config_backup=$(mktemp $tmpdir/$__p9k_cfg_basename.XXXXXXXXXX 2>/dev/null); then
|
|
1619
|
+
config_backup=$tmpdir/$__p9k_cfg_basename.$EPOCHREALTIME
|
|
1620
|
+
fi
|
|
1621
|
+
cp $__p9k_cfg_path $config_backup || quit -c
|
|
1622
|
+
config_backup_u=$tmpdir_u/${(q-)config_backup:t}
|
|
1623
|
+
;;
|
|
1624
|
+
esac
|
|
1625
|
+
return 0
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
function ask_zshrc_edit() {
|
|
1629
|
+
zshrc_content=
|
|
1630
|
+
zshrc_backup=
|
|
1631
|
+
zshrc_backup_u=
|
|
1632
|
+
zshrc_has_cfg=0
|
|
1633
|
+
zshrc_has_instant_prompt=0
|
|
1634
|
+
write_zshrc=0
|
|
1635
|
+
|
|
1636
|
+
if (( $+functions[z4h] )); then
|
|
1637
|
+
zshrc_has_cfg=1
|
|
1638
|
+
zshrc_has_instant_prompt=1
|
|
1639
|
+
return
|
|
1640
|
+
fi
|
|
1641
|
+
|
|
1642
|
+
check_zshrc_integration || quit -c
|
|
1643
|
+
[[ $instant_prompt == off ]] && zshrc_has_instant_prompt=1
|
|
1644
|
+
(( zshrc_has_cfg && zshrc_has_instant_prompt )) && return
|
|
1645
|
+
|
|
1646
|
+
add_widget 0 flowing -c %BApply changes to "%b%2F${__p9k_zshrc_u//\\/\\\\}%f%B?%b"
|
|
1647
|
+
add_widget 0 print -P ""
|
|
1648
|
+
add_widget 1
|
|
1649
|
+
local modifiable=y
|
|
1650
|
+
if [[ ! -w $__p9k_zd ]]; then
|
|
1651
|
+
modifiable=
|
|
1652
|
+
add_widget 0 flowing -c %3FWARNING:%f %2F${__p9k_zd_u//\\/\\\\}%f %3Fis readonly.%f
|
|
1653
|
+
add_widget 0 print -P ""
|
|
1654
|
+
elif [[ -e $__p9k_zshrc && ! -w $__p9k_zshrc ]]; then
|
|
1655
|
+
local -a stat
|
|
1656
|
+
zstat -A stat +uid -- $__p9k_zshrc || quit -c
|
|
1657
|
+
if (( stat[1] == EUID )); then
|
|
1658
|
+
add_widget 0 flowing -c %3FNOTE:%f %2F${__p9k_zshrc_u//\\/\\\\}%f %3Fis readonly.%f
|
|
1659
|
+
else
|
|
1660
|
+
modifiable=
|
|
1661
|
+
add_widget 0 flowing -c \
|
|
1662
|
+
%3FWARNING:%f %2F${__p9k_zshrc_u//\\/\\\\}%f %3Fis readonly and \
|
|
1663
|
+
not owned by the user. Cannot modify it.%f
|
|
1664
|
+
fi
|
|
1665
|
+
add_widget 0 print -P ""
|
|
1666
|
+
fi
|
|
1667
|
+
if [[ $modifiable == y ]]; then
|
|
1668
|
+
add_widget 0 print -P "%B(y) Yes (recommended).%b"
|
|
1669
|
+
else
|
|
1670
|
+
add_widget 0 print -P "%1F(y) Yes (disabled).%f"
|
|
1671
|
+
fi
|
|
1672
|
+
add_widget 0 print -P ""
|
|
1673
|
+
add_widget 0 flowing +c -i 5 "%B(n) No." I know which changes to apply and will do it myself.%b
|
|
1674
|
+
add_widget 0 print -P ""
|
|
1675
|
+
add_widget 0 print -P "(r) Restart from the beginning."
|
|
1676
|
+
ask ${modifiable}nr
|
|
1677
|
+
case $choice in
|
|
1678
|
+
r) return 1;;
|
|
1679
|
+
n) return 0;;
|
|
1680
|
+
y)
|
|
1681
|
+
write_zshrc=1
|
|
1682
|
+
if [[ -n $zshrc_content ]]; then
|
|
1683
|
+
if [[ -n "$TMPDIR" && ( ( -d "$TMPDIR" && -w "$TMPDIR" ) || ! ( -d /tmp && -w /tmp ) ) ]]; then
|
|
1684
|
+
local tmpdir=$TMPDIR
|
|
1685
|
+
local tmpdir_u='$TMPDIR'
|
|
1686
|
+
else
|
|
1687
|
+
local tmpdir=/tmp
|
|
1688
|
+
local tmpdir_u=/tmp
|
|
1689
|
+
fi
|
|
1690
|
+
if (( ! $+commands[mktemp] )) ||
|
|
1691
|
+
! zshrc_backup="$(mktemp $tmpdir/.zshrc.XXXXXXXXXX 2>/dev/null)"; then
|
|
1692
|
+
zshrc_backup=$tmpdir/.zshrc.$EPOCHREALTIME
|
|
1693
|
+
fi
|
|
1694
|
+
cp -p $__p9k_zshrc $zshrc_backup || quit -c
|
|
1695
|
+
local -i writable=1
|
|
1696
|
+
if [[ ! -w $zshrc_backup ]]; then
|
|
1697
|
+
chmod u+w -- $zshrc_backup || quit -c
|
|
1698
|
+
writable=0
|
|
1699
|
+
fi
|
|
1700
|
+
print -r -- $zshrc_content >$zshrc_backup || quit -c
|
|
1701
|
+
(( writable )) || chmod u-w -- $zshrc_backup || quit -c
|
|
1702
|
+
zshrc_backup_u=$tmpdir_u/${(q-)zshrc_backup:t}
|
|
1703
|
+
fi
|
|
1704
|
+
;;
|
|
1705
|
+
esac
|
|
1706
|
+
return 0
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
function generate_config() {
|
|
1710
|
+
local base && base="$(<$__p9k_root_dir/config/p10k-${style//_/-}.zsh)" || return
|
|
1711
|
+
local lines=("${(@f)base}")
|
|
1712
|
+
|
|
1713
|
+
function sub() {
|
|
1714
|
+
lines=("${(@)lines/#(#b)([[:space:]]#)typeset -g POWERLEVEL9K_$1=*/$match[1]typeset -g POWERLEVEL9K_$1=$2}")
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
function uncomment() {
|
|
1718
|
+
lines=("${(@)lines/#(#b)([[:space:]]#)\# $1( |)/$match[1]$1$match[2]$match[2]}")
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
function rep() {
|
|
1722
|
+
lines=("${(@)lines//$1/$2}")
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
if [[ $style == pure ]]; then
|
|
1726
|
+
rep "local grey=242" "local grey='$pure_color[grey]'"
|
|
1727
|
+
rep "local red=1" "local red='$pure_color[red]'"
|
|
1728
|
+
rep "local yellow=3" "local yellow='$pure_color[yellow]'"
|
|
1729
|
+
rep "local blue=4" "local blue='$pure_color[blue]'"
|
|
1730
|
+
rep "local magenta=5" "local magenta='$pure_color[magenta]'"
|
|
1731
|
+
rep "local cyan=6" "local cyan='$pure_color[cyan]'"
|
|
1732
|
+
rep "local white=7" "local white='$pure_color[white]'"
|
|
1733
|
+
else
|
|
1734
|
+
sub MODE $POWERLEVEL9K_MODE
|
|
1735
|
+
|
|
1736
|
+
sub ICON_PADDING $POWERLEVEL9K_ICON_PADDING
|
|
1737
|
+
|
|
1738
|
+
if [[ $POWERLEVEL9K_MODE == compatible ]]; then
|
|
1739
|
+
sub STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION "'х'"
|
|
1740
|
+
sub STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION "'х'"
|
|
1741
|
+
sub STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION "'х'"
|
|
1742
|
+
fi
|
|
1743
|
+
|
|
1744
|
+
if [[ $POWERLEVEL9K_MODE == (compatible|powerline) ]]; then
|
|
1745
|
+
uncomment 'typeset -g POWERLEVEL9K_LOCK_ICON'
|
|
1746
|
+
sub LOCK_ICON "'∅'"
|
|
1747
|
+
uncomment 'typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION'
|
|
1748
|
+
sub NORDVPN_VISUAL_IDENTIFIER_EXPANSION "'nord'"
|
|
1749
|
+
uncomment 'typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION'
|
|
1750
|
+
sub RANGER_VISUAL_IDENTIFIER_EXPANSION "'▲'"
|
|
1751
|
+
uncomment 'typeset -g POWERLEVEL9K_YAZI_VISUAL_IDENTIFIER_EXPANSION'
|
|
1752
|
+
sub YAZI_VISUAL_IDENTIFIER_EXPANSION "'▲'"
|
|
1753
|
+
uncomment 'typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION'
|
|
1754
|
+
sub KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION "'○'"
|
|
1755
|
+
uncomment 'typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION'
|
|
1756
|
+
sub AZURE_VISUAL_IDENTIFIER_EXPANSION "'az'"
|
|
1757
|
+
uncomment 'typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION'
|
|
1758
|
+
sub AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION "'eb'"
|
|
1759
|
+
uncomment 'typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION'
|
|
1760
|
+
sub BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION "'≡'"
|
|
1761
|
+
fi
|
|
1762
|
+
|
|
1763
|
+
if [[ $POWERLEVEL9K_MODE == (awesome-patched|awesome-fontconfig) && $cap_python == 0 ]]; then
|
|
1764
|
+
uncomment 'typeset -g POWERLEVEL9K_VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION'
|
|
1765
|
+
uncomment 'typeset -g POWERLEVEL9K_ANACONDA_VISUAL_IDENTIFIER_EXPANSION'
|
|
1766
|
+
uncomment 'typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION'
|
|
1767
|
+
uncomment 'typeset -g POWERLEVEL9K_PYTHON_ICON'
|
|
1768
|
+
sub VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
|
|
1769
|
+
sub ANACONDA_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
|
|
1770
|
+
sub PYENV_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
|
|
1771
|
+
sub PYTHON_ICON "'🐍'"
|
|
1772
|
+
fi
|
|
1773
|
+
|
|
1774
|
+
case $POWERLEVEL9K_MODE in
|
|
1775
|
+
nerdfont-complete)
|
|
1776
|
+
sub BATTERY_STAGES "'\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578'"
|
|
1777
|
+
;;
|
|
1778
|
+
nerdfont-v3)
|
|
1779
|
+
sub BATTERY_STAGES "'\UF008E\UF007A\UF007B\UF007C\UF007D\UF007E\UF007F\UF0080\UF0081\UF0082\UF0079'"
|
|
1780
|
+
;;
|
|
1781
|
+
esac
|
|
1782
|
+
|
|
1783
|
+
if [[ $style == (classic|rainbow) ]]; then
|
|
1784
|
+
if [[ $style == classic ]]; then
|
|
1785
|
+
sub BACKGROUND $bg_color[$color]
|
|
1786
|
+
sub LEFT_SUBSEGMENT_SEPARATOR "'%$sep_color[$color]F$left_subsep'"
|
|
1787
|
+
sub RIGHT_SUBSEGMENT_SEPARATOR "'%$sep_color[$color]F$right_subsep'"
|
|
1788
|
+
sub VCS_LOADING_FOREGROUND $sep_color[$color]
|
|
1789
|
+
rep '%248F' "%$prefix_color[$color]F"
|
|
1790
|
+
else
|
|
1791
|
+
sub LEFT_SUBSEGMENT_SEPARATOR "'$left_subsep'"
|
|
1792
|
+
sub RIGHT_SUBSEGMENT_SEPARATOR "'$right_subsep'"
|
|
1793
|
+
fi
|
|
1794
|
+
sub RULER_FOREGROUND $frame_color[$color]
|
|
1795
|
+
sub MULTILINE_FIRST_PROMPT_GAP_FOREGROUND $frame_color[$color]
|
|
1796
|
+
sub MULTILINE_FIRST_PROMPT_PREFIX "'%$frame_color[$color]F╭─'"
|
|
1797
|
+
sub MULTILINE_NEWLINE_PROMPT_PREFIX "'%$frame_color[$color]F├─'"
|
|
1798
|
+
sub MULTILINE_LAST_PROMPT_PREFIX "'%$frame_color[$color]F╰─'"
|
|
1799
|
+
sub MULTILINE_FIRST_PROMPT_SUFFIX "'%$frame_color[$color]F─╮'"
|
|
1800
|
+
sub MULTILINE_NEWLINE_PROMPT_SUFFIX "'%$frame_color[$color]F─┤'"
|
|
1801
|
+
sub MULTILINE_LAST_PROMPT_SUFFIX "'%$frame_color[$color]F─╯'"
|
|
1802
|
+
sub LEFT_SEGMENT_SEPARATOR "'$left_sep'"
|
|
1803
|
+
sub RIGHT_SEGMENT_SEPARATOR "'$right_sep'"
|
|
1804
|
+
sub LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL "'$left_tail'"
|
|
1805
|
+
sub LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL "'$left_head'"
|
|
1806
|
+
sub RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL "'$right_head'"
|
|
1807
|
+
sub RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL "'$right_tail'"
|
|
1808
|
+
fi
|
|
1809
|
+
|
|
1810
|
+
if [[ -n ${(j::)extra_icons} ]]; then
|
|
1811
|
+
local branch_icon=${icons[VCS_BRANCH_ICON]// }
|
|
1812
|
+
sub VCS_BRANCH_ICON "'$branch_icon '"
|
|
1813
|
+
uncomment os_icon
|
|
1814
|
+
else
|
|
1815
|
+
uncomment 'typeset -g POWERLEVEL9K_DIR_CLASSES'
|
|
1816
|
+
uncomment 'typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION'
|
|
1817
|
+
uncomment 'typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION'
|
|
1818
|
+
uncomment 'typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION'
|
|
1819
|
+
sub VCS_VISUAL_IDENTIFIER_EXPANSION ''
|
|
1820
|
+
sub COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION ''
|
|
1821
|
+
sub TIME_VISUAL_IDENTIFIER_EXPANSION ''
|
|
1822
|
+
fi
|
|
1823
|
+
|
|
1824
|
+
if [[ -n ${(j::)prefixes} ]]; then
|
|
1825
|
+
uncomment 'typeset -g POWERLEVEL9K_VCS_PREFIX'
|
|
1826
|
+
uncomment 'typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX'
|
|
1827
|
+
uncomment 'typeset -g POWERLEVEL9K_CONTEXT_PREFIX'
|
|
1828
|
+
uncomment 'typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX'
|
|
1829
|
+
uncomment 'typeset -g POWERLEVEL9K_TIME_PREFIX'
|
|
1830
|
+
uncomment 'typeset -g POWERLEVEL9K_TOOLBOX_PREFIX'
|
|
1831
|
+
if [[ $style == (lean|classic) ]]; then
|
|
1832
|
+
[[ $style == classic ]] && local fg="%$prefix_color[$color]F" || local fg="%f"
|
|
1833
|
+
sub VCS_PREFIX "'${fg}on '"
|
|
1834
|
+
sub COMMAND_EXECUTION_TIME_PREFIX "'${fg}took '"
|
|
1835
|
+
sub CONTEXT_PREFIX "'${fg}with '"
|
|
1836
|
+
sub KUBECONTEXT_PREFIX "'${fg}at '"
|
|
1837
|
+
sub TIME_PREFIX "'${fg}at '"
|
|
1838
|
+
sub TOOLBOX_PREFIX "'${fg}in '"
|
|
1839
|
+
fi
|
|
1840
|
+
fi
|
|
1841
|
+
|
|
1842
|
+
sub MULTILINE_FIRST_PROMPT_GAP_CHAR "'$gap_char'"
|
|
1843
|
+
|
|
1844
|
+
if [[ $style == (classic|rainbow) && $num_lines == 2 ]]; then
|
|
1845
|
+
if (( ! right_frame )); then
|
|
1846
|
+
sub MULTILINE_FIRST_PROMPT_SUFFIX ''
|
|
1847
|
+
sub MULTILINE_NEWLINE_PROMPT_SUFFIX ''
|
|
1848
|
+
sub MULTILINE_LAST_PROMPT_SUFFIX ''
|
|
1849
|
+
fi
|
|
1850
|
+
if (( ! left_frame )); then
|
|
1851
|
+
sub MULTILINE_FIRST_PROMPT_PREFIX ''
|
|
1852
|
+
sub MULTILINE_NEWLINE_PROMPT_PREFIX ''
|
|
1853
|
+
sub MULTILINE_LAST_PROMPT_PREFIX ''
|
|
1854
|
+
sub STATUS_OK false
|
|
1855
|
+
sub STATUS_ERROR false
|
|
1856
|
+
fi
|
|
1857
|
+
fi
|
|
1858
|
+
|
|
1859
|
+
if [[ $style == lean* ]]; then
|
|
1860
|
+
sub RULER_FOREGROUND $frame_color[$color]
|
|
1861
|
+
sub MULTILINE_FIRST_PROMPT_GAP_FOREGROUND $frame_color[$color]
|
|
1862
|
+
if (( right_frame )); then
|
|
1863
|
+
sub MULTILINE_FIRST_PROMPT_SUFFIX "'%$frame_color[$color]F─╮'"
|
|
1864
|
+
sub MULTILINE_NEWLINE_PROMPT_SUFFIX "'%$frame_color[$color]F─┤'"
|
|
1865
|
+
sub MULTILINE_LAST_PROMPT_SUFFIX "'%$frame_color[$color]F─╯'"
|
|
1866
|
+
sub RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL "' '"
|
|
1867
|
+
fi
|
|
1868
|
+
if (( left_frame )); then
|
|
1869
|
+
sub MULTILINE_FIRST_PROMPT_PREFIX "'%$frame_color[$color]F╭─'"
|
|
1870
|
+
sub MULTILINE_NEWLINE_PROMPT_PREFIX "'%$frame_color[$color]F├─'"
|
|
1871
|
+
sub MULTILINE_LAST_PROMPT_PREFIX "'%$frame_color[$color]F╰─'"
|
|
1872
|
+
sub LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL "' '"
|
|
1873
|
+
fi
|
|
1874
|
+
fi
|
|
1875
|
+
|
|
1876
|
+
if [[ $style == (classic|rainbow) ]]; then
|
|
1877
|
+
if (( num_lines == 2 && ! left_frame )); then
|
|
1878
|
+
uncomment prompt_char
|
|
1879
|
+
else
|
|
1880
|
+
uncomment vi_mode
|
|
1881
|
+
fi
|
|
1882
|
+
fi
|
|
1883
|
+
|
|
1884
|
+
if [[ $POWERLEVEL9K_MODE == ascii ]]; then
|
|
1885
|
+
sub 'STATUS_OK_VISUAL_IDENTIFIER_EXPANSION' "'ok'"
|
|
1886
|
+
sub 'STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION' "'ok'"
|
|
1887
|
+
sub 'STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION' "'err'"
|
|
1888
|
+
sub 'STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION' ""
|
|
1889
|
+
sub 'STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION' "'err'"
|
|
1890
|
+
sub 'BATTERY_STAGES' "('battery')"
|
|
1891
|
+
sub 'PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION' "'>'"
|
|
1892
|
+
sub 'PROMPT_CHAR_{OK,ERROR}_VICMD_CONTENT_EXPANSION' "'<'"
|
|
1893
|
+
sub 'PROMPT_CHAR_{OK,ERROR}_VIVIS_CONTENT_EXPANSION' "'V'"
|
|
1894
|
+
sub 'PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION' "'^'"
|
|
1895
|
+
rep "-i '⭐'" "-i '*'"
|
|
1896
|
+
rep '…' '..'
|
|
1897
|
+
rep '⇣' '<'
|
|
1898
|
+
rep '⇡' '>'
|
|
1899
|
+
rep '⇠' '<-'
|
|
1900
|
+
rep '⇢' '->'
|
|
1901
|
+
rep '─' '-'
|
|
1902
|
+
fi
|
|
1903
|
+
fi
|
|
1904
|
+
|
|
1905
|
+
if (( $+pure_use_rprompt )); then
|
|
1906
|
+
local segment
|
|
1907
|
+
for segment in command_execution_time virtualenv context; do
|
|
1908
|
+
rep " $segment" " tmp_$segment"
|
|
1909
|
+
uncomment $segment
|
|
1910
|
+
rep " tmp_$segment " " # $segment"
|
|
1911
|
+
done
|
|
1912
|
+
fi
|
|
1913
|
+
|
|
1914
|
+
if [[ -n $time ]]; then
|
|
1915
|
+
uncomment time
|
|
1916
|
+
if [[ $time == $time_12h ]]; then
|
|
1917
|
+
sub TIME_FORMAT "'%D{%I:%M:%S %p}'"
|
|
1918
|
+
fi
|
|
1919
|
+
fi
|
|
1920
|
+
|
|
1921
|
+
if (( num_lines == 1 )); then
|
|
1922
|
+
local -a tmp
|
|
1923
|
+
local line
|
|
1924
|
+
for line in "$lines[@]"; do
|
|
1925
|
+
[[ $line == (' newline'*|*'===[ Line #'*) ]] || tmp+=$line
|
|
1926
|
+
done
|
|
1927
|
+
lines=("$tmp[@]")
|
|
1928
|
+
fi
|
|
1929
|
+
|
|
1930
|
+
(( empty_line )) && sub PROMPT_ADD_NEWLINE true || sub PROMPT_ADD_NEWLINE false
|
|
1931
|
+
|
|
1932
|
+
sub INSTANT_PROMPT $instant_prompt
|
|
1933
|
+
(( transient_prompt )) && sub TRANSIENT_PROMPT always
|
|
1934
|
+
|
|
1935
|
+
local header=${(%):-"# Generated by Powerlevel10k configuration wizard on %D{%Y-%m-%d at %H:%M %Z}."}$'\n'
|
|
1936
|
+
header+="# Based on romkatv/powerlevel10k/config/p10k-${style//_/-}.zsh"
|
|
1937
|
+
if [[ $commands[sum] == ('/bin'|'/usr/bin'|'/usr/local/bin')'/sum' ]]; then
|
|
1938
|
+
local -a sum
|
|
1939
|
+
if sum=($(sum <<<${base//$'\r\n'/$'\n'} 2>/dev/null)) && (( $#sum == 2 )); then
|
|
1940
|
+
header+=", checksum $sum[1]"
|
|
1941
|
+
fi
|
|
1942
|
+
fi
|
|
1943
|
+
header+=$'.\n'
|
|
1944
|
+
local line="# Wizard options: $options[1]"
|
|
1945
|
+
local opt
|
|
1946
|
+
for opt in $options[2,-1]; do
|
|
1947
|
+
if (( $#line + $#opt > 85 )); then
|
|
1948
|
+
header+=$line
|
|
1949
|
+
header+=$',\n'
|
|
1950
|
+
line="# $opt"
|
|
1951
|
+
else
|
|
1952
|
+
line+=", $opt"
|
|
1953
|
+
fi
|
|
1954
|
+
done
|
|
1955
|
+
header+=$line
|
|
1956
|
+
header+=$'.\n# Type `p10k configure` to generate another config.\n#'
|
|
1957
|
+
|
|
1958
|
+
command mkdir -p -- ${__p9k_cfg_path:h} || return
|
|
1959
|
+
|
|
1960
|
+
if [[ -e $__p9k_cfg_path ]]; then
|
|
1961
|
+
zf_rm -f -- $__p9k_cfg_path || return
|
|
1962
|
+
fi
|
|
1963
|
+
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
function change_zshrc() {
|
|
1967
|
+
(( write_zshrc )) || return 0
|
|
1968
|
+
|
|
1969
|
+
local tmp=$__p9k_zshrc.${(%):-%n}.tmp.$$
|
|
1970
|
+
[[ ! -e $__p9k_zshrc ]] || cp -p $__p9k_zshrc $tmp || return
|
|
1971
|
+
|
|
1972
|
+
{
|
|
1973
|
+
local -i writable=1
|
|
1974
|
+
if [[ -e $tmp && ! -w $tmp ]]; then
|
|
1975
|
+
chmod u+w -- $tmp || return
|
|
1976
|
+
writable=0
|
|
1977
|
+
fi
|
|
1978
|
+
|
|
1979
|
+
print -n >$tmp || return
|
|
1980
|
+
|
|
1981
|
+
if (( !zshrc_has_instant_prompt )); then
|
|
1982
|
+
>>$tmp print -r -- "# Enable Powerlevel10k instant prompt. Should stay close to the top of ${(%)__p9k_zshrc_u}.
|
|
1983
|
+
# Initialization code that may require console input (password prompts, [y/n]
|
|
1984
|
+
# confirmations, etc.) must go above this block; everything else may go below.
|
|
1985
|
+
if [[ -r \"\${XDG_CACHE_HOME:-\$HOME/.cache}/p10k-instant-prompt-\${(%):-%n}.zsh\" ]]; then
|
|
1986
|
+
source \"\${XDG_CACHE_HOME:-\$HOME/.cache}/p10k-instant-prompt-\${(%):-%n}.zsh\"
|
|
1987
|
+
fi" || return
|
|
1988
|
+
fi
|
|
1989
|
+
if [[ -n $zshrc_content ]]; then
|
|
1990
|
+
(( zshrc_has_instant_prompt )) || print >>$tmp || return
|
|
1991
|
+
>>$tmp print -r -- $zshrc_content || return
|
|
1992
|
+
fi
|
|
1993
|
+
if (( !zshrc_has_cfg )); then
|
|
1994
|
+
>>$tmp print -r -- "
|
|
1995
|
+
# To customize prompt, run \`p10k configure\` or edit ${(%)__p9k_cfg_path_u}.
|
|
1996
|
+
[[ ! -f ${(%)__p9k_cfg_path_u} ]] || source ${(%)__p9k_cfg_path_u}" || return
|
|
1997
|
+
fi
|
|
1998
|
+
(( writable )) || chmod u-w -- $tmp || return
|
|
1999
|
+
command mv -f -- $tmp $__p9k_zshrc || return
|
|
2000
|
+
} always {
|
|
2001
|
+
zf_rm -f -- $tmp
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
if [[ -n $zshrc_backup_u ]]; then
|
|
2005
|
+
print -rP ""
|
|
2006
|
+
flowing +c See "%B${__p9k_zshrc_u//\\/\\\\}%b" changes:
|
|
2007
|
+
print -rP "
|
|
2008
|
+
%2Fdiff%f %B$zshrc_backup_u%b %B$__p9k_zshrc_u%b"
|
|
2009
|
+
fi
|
|
2010
|
+
return 0
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
function check_zshrc_integration() {
|
|
2014
|
+
typeset -g zshrc_content=
|
|
2015
|
+
typeset -gi zshrc_has_cfg=0 zshrc_has_instant_prompt=0
|
|
2016
|
+
[[ -e $__p9k_zshrc ]] || return 0
|
|
2017
|
+
zshrc_content="$(<$__p9k_zshrc)" || return
|
|
2018
|
+
local lines=(${(f)zshrc_content})
|
|
2019
|
+
local f0=$__p9k_cfg_path_o
|
|
2020
|
+
local f1=${(q)f0}
|
|
2021
|
+
local f2=${(q-)f0}
|
|
2022
|
+
local f3=${(qq)f0}
|
|
2023
|
+
local f4=${(qqq)f0}
|
|
2024
|
+
local g1=${${(q)__p9k_cfg_path_o}/#(#b)${(q)HOME}\//'~/'}
|
|
2025
|
+
local h0='${ZDOTDIR:-~}/.p10k.zsh'
|
|
2026
|
+
local h1='${ZDOTDIR:-$HOME}/.p10k.zsh'
|
|
2027
|
+
local h2='"${ZDOTDIR:-$HOME}/.p10k.zsh"'
|
|
2028
|
+
local h3='"${ZDOTDIR:-$HOME}"/.p10k.zsh'
|
|
2029
|
+
local h4='${ZDOTDIR}/.p10k.zsh'
|
|
2030
|
+
local h5='"${ZDOTDIR}/.p10k.zsh"'
|
|
2031
|
+
local h6='"${ZDOTDIR}"/.p10k.zsh'
|
|
2032
|
+
local h7='$ZDOTDIR/.p10k.zsh'
|
|
2033
|
+
local h8='"$ZDOTDIR/.p10k.zsh"'
|
|
2034
|
+
local h9='"$ZDOTDIR"/.p10k.zsh'
|
|
2035
|
+
local h10='$POWERLEVEL9K_CONFIG_FILE'
|
|
2036
|
+
local h11='"$POWERLEVEL9K_CONFIG_FILE"'
|
|
2037
|
+
if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##(|--[[:space:]]##)($f1|$f2|$f3|$f4|$g1|$h0|$h1|$h2|$h3|$h4|$h5|$h6|$h7|$h8|$h9|$h10|$h11)(|[[:space:]]*|'#'*)} ]]; then
|
|
2038
|
+
zshrc_has_cfg=1
|
|
2039
|
+
fi
|
|
2040
|
+
local pre='${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh'
|
|
2041
|
+
if [[ -n ${(@M)lines:#(#b)[^#]#([^[:IDENT:]]|)source[[:space:]]##($pre|\"$pre\")(|[[:space:]]*|'#'*)} ]]; then
|
|
2042
|
+
zshrc_has_instant_prompt=1
|
|
2043
|
+
fi
|
|
2044
|
+
return 0
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
() {
|
|
2048
|
+
(( force )) && return
|
|
2049
|
+
_p9k_can_configure -q || return 0
|
|
2050
|
+
local zshrc_content zshrc_has_cfg zshrc_has_instant_prompt
|
|
2051
|
+
check_zshrc_integration 2>/dev/null || return 0
|
|
2052
|
+
(( zshrc_has_cfg )) || return 0
|
|
2053
|
+
[[ -s $__p9k_cfg_path ]] || return 0
|
|
2054
|
+
print -P ""
|
|
2055
|
+
flowing \
|
|
2056
|
+
Powerlevel10k configuration file "($__p9k_cfg_path_u)" was not sourced. This \
|
|
2057
|
+
might have been caused by errors in zsh startup files, most likely in \
|
|
2058
|
+
$__p9k_zshrc_u. See above for any indication of such errors and fix them. If \
|
|
2059
|
+
there are no errors, try running Powerlevel10k configuration wizard:
|
|
2060
|
+
print -P ''
|
|
2061
|
+
print -P ' %2Fp10k%f %Bconfigure%b'
|
|
2062
|
+
print -P ''
|
|
2063
|
+
flowing \
|
|
2064
|
+
If you do nothing, you will see this message again when you start zsh. You can \
|
|
2065
|
+
suppress it by defining %BPOWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true%b in \
|
|
2066
|
+
$__p9k_zshrc_u.
|
|
2067
|
+
print -P ''
|
|
2068
|
+
return 1
|
|
2069
|
+
} || return
|
|
2070
|
+
|
|
2071
|
+
if (( $+terminfo[smcup] && $+terminfo[rmcup] )) && echoti smcup 2>/dev/null; then
|
|
2072
|
+
function restore_screen() {
|
|
2073
|
+
echoti rmcup 2>/dev/null
|
|
2074
|
+
function restore_screen() {}
|
|
2075
|
+
}
|
|
2076
|
+
else
|
|
2077
|
+
function restore_screen() {}
|
|
2078
|
+
fi
|
|
2079
|
+
|
|
2080
|
+
{ # always
|
|
2081
|
+
|
|
2082
|
+
if (( force )); then
|
|
2083
|
+
_p9k_can_configure || return
|
|
2084
|
+
else
|
|
2085
|
+
_p9k_can_configure -q || return
|
|
2086
|
+
fi
|
|
2087
|
+
|
|
2088
|
+
zmodload zsh/terminfo zsh/datetime || return
|
|
2089
|
+
|
|
2090
|
+
if [[ $ZSH_VERSION == (5.7.<1->*|5.<8->*|<6->.*) && $COLORTERM == (24bit|truecolor) ]]; then
|
|
2091
|
+
local -ir has_truecolor=1
|
|
2092
|
+
else
|
|
2093
|
+
local -ir has_truecolor=0
|
|
2094
|
+
fi
|
|
2095
|
+
|
|
2096
|
+
stty -echo 2>/dev/null
|
|
2097
|
+
|
|
2098
|
+
while true; do
|
|
2099
|
+
local instant_prompt=verbose zshrc_content= zshrc_backup= zshrc_backup_u=
|
|
2100
|
+
local -i zshrc_has_cfg=0 zshrc_has_instant_prompt=0 write_zshrc=0
|
|
2101
|
+
local POWERLEVEL9K_MODE= POWERLEVEL9K_ICON_PADDING=moderate style= config_backup= config_backup_u=
|
|
2102
|
+
local gap_char=' ' prompt_char='❯' down_triangle='\uE0BC' up_triangle='\uE0BA' slanted_bar='\u2571'
|
|
2103
|
+
local left_subsep= right_subsep= left_tail= right_tail= left_head= right_head= time=
|
|
2104
|
+
local -i num_lines=2 empty_line=0 color=2 left_frame=1 right_frame=1 transient_prompt=0
|
|
2105
|
+
local -i cap_diamond=0 cap_python=0 cap_arrow=0 cap_lock=0 cap_quotes=0
|
|
2106
|
+
local -a extra_icons=('' '' '')
|
|
2107
|
+
local -a frame_color=(244 242 240 238)
|
|
2108
|
+
local -a color_name=(Lightest Light Dark Darkest)
|
|
2109
|
+
local -a prefixes=('' '')
|
|
2110
|
+
local -a options=()
|
|
2111
|
+
if (( has_truecolor )); then
|
|
2112
|
+
local -A pure_color=(${(kv)pure_snazzy})
|
|
2113
|
+
else
|
|
2114
|
+
local -A pure_color=(${(kv)pure_original})
|
|
2115
|
+
fi
|
|
2116
|
+
|
|
2117
|
+
unset pure_use_rprompt
|
|
2118
|
+
|
|
2119
|
+
if [[ -o multibyte && $TERM != (dumb|linux) && $langinfo[CODESET] == (utf|UTF)(-|)8 ]]; then
|
|
2120
|
+
ask_font || continue
|
|
2121
|
+
ask_diamond || continue
|
|
2122
|
+
if [[ $AWESOME_GLYPHS_LOADED == 1 ]]; then
|
|
2123
|
+
POWERLEVEL9K_MODE=awesome-mapped-fontconfig
|
|
2124
|
+
else
|
|
2125
|
+
ask_lock '\uF023' || continue
|
|
2126
|
+
if (( ! cap_lock )); then
|
|
2127
|
+
ask_lock '\uE138' "Let's try another one." || continue
|
|
2128
|
+
if (( cap_lock )); then
|
|
2129
|
+
if (( cap_diamond )); then
|
|
2130
|
+
POWERLEVEL9K_MODE=awesome-patched
|
|
2131
|
+
ask_python || continue
|
|
2132
|
+
else
|
|
2133
|
+
POWERLEVEL9K_MODE=flat
|
|
2134
|
+
fi
|
|
2135
|
+
else
|
|
2136
|
+
if (( cap_diamond )); then
|
|
2137
|
+
POWERLEVEL9K_MODE=powerline
|
|
2138
|
+
else
|
|
2139
|
+
ask_quotes || continue
|
|
2140
|
+
(( cap_quotes )) && POWERLEVEL9K_MODE=compatible || POWERLEVEL9K_MODE=ascii
|
|
2141
|
+
fi
|
|
2142
|
+
fi
|
|
2143
|
+
elif (( ! cap_diamond )); then
|
|
2144
|
+
POWERLEVEL9K_MODE=awesome-fontconfig
|
|
2145
|
+
else
|
|
2146
|
+
ask_arrow '\UF0737' || continue
|
|
2147
|
+
if (( cap_arrow )); then
|
|
2148
|
+
ask_width || continue
|
|
2149
|
+
fi
|
|
2150
|
+
if (( cap_arrow )); then
|
|
2151
|
+
POWERLEVEL9K_MODE=nerdfont-v3
|
|
2152
|
+
else
|
|
2153
|
+
ask_arrow '\uFC35' "Let's try another one." || continue
|
|
2154
|
+
if (( cap_arrow )); then
|
|
2155
|
+
POWERLEVEL9K_MODE=nerdfont-complete
|
|
2156
|
+
else
|
|
2157
|
+
POWERLEVEL9K_MODE=awesome-fontconfig
|
|
2158
|
+
ask_python || continue
|
|
2159
|
+
fi
|
|
2160
|
+
fi
|
|
2161
|
+
fi
|
|
2162
|
+
fi
|
|
2163
|
+
else
|
|
2164
|
+
POWERLEVEL9K_MODE=ascii
|
|
2165
|
+
fi
|
|
2166
|
+
|
|
2167
|
+
if [[ $POWERLEVEL9K_MODE == powerline ]]; then
|
|
2168
|
+
options+=powerline
|
|
2169
|
+
elif (( cap_diamond )); then
|
|
2170
|
+
options+="$POWERLEVEL9K_MODE + powerline"
|
|
2171
|
+
else
|
|
2172
|
+
options+="$POWERLEVEL9K_MODE"
|
|
2173
|
+
fi
|
|
2174
|
+
(( cap_python )) && options[-1]+=' + python'
|
|
2175
|
+
if (( cap_diamond )); then
|
|
2176
|
+
left_sep=$right_triangle
|
|
2177
|
+
right_sep=$left_triangle
|
|
2178
|
+
left_subsep=$right_angle
|
|
2179
|
+
right_subsep=$left_angle
|
|
2180
|
+
left_head=$right_triangle
|
|
2181
|
+
right_head=$left_triangle
|
|
2182
|
+
else
|
|
2183
|
+
left_sep=
|
|
2184
|
+
right_sep=
|
|
2185
|
+
left_head=
|
|
2186
|
+
right_head=
|
|
2187
|
+
if [[ $POWERLEVEL9K_MODE == ascii ]]; then
|
|
2188
|
+
left_subsep='|'
|
|
2189
|
+
right_subsep='|'
|
|
2190
|
+
prompt_char='>'
|
|
2191
|
+
left_frame=0
|
|
2192
|
+
right_frame=0
|
|
2193
|
+
else
|
|
2194
|
+
left_subsep=$vertical_bar
|
|
2195
|
+
right_subsep=$vertical_bar
|
|
2196
|
+
fi
|
|
2197
|
+
fi
|
|
2198
|
+
|
|
2199
|
+
_p9k_init_icons
|
|
2200
|
+
ask_icon_padding || continue
|
|
2201
|
+
_p9k_init_icons
|
|
2202
|
+
|
|
2203
|
+
ask_style || continue
|
|
2204
|
+
ask_charset || continue
|
|
2205
|
+
ask_color_scheme || continue
|
|
2206
|
+
ask_color || continue
|
|
2207
|
+
ask_use_rprompt || continue
|
|
2208
|
+
ask_time || continue
|
|
2209
|
+
ask_separators || continue
|
|
2210
|
+
ask_heads || continue
|
|
2211
|
+
ask_tails || continue
|
|
2212
|
+
ask_num_lines || continue
|
|
2213
|
+
ask_gap_char || continue
|
|
2214
|
+
ask_frame || continue
|
|
2215
|
+
ask_ornaments_color || continue
|
|
2216
|
+
ask_empty_line || continue
|
|
2217
|
+
ask_extra_icons || continue
|
|
2218
|
+
ask_prefixes || continue
|
|
2219
|
+
ask_transient_prompt || continue
|
|
2220
|
+
ask_instant_prompt || continue
|
|
2221
|
+
ask_config_overwrite || continue
|
|
2222
|
+
ask_zshrc_edit || continue
|
|
2223
|
+
break
|
|
2224
|
+
done
|
|
2225
|
+
|
|
2226
|
+
restore_screen
|
|
2227
|
+
|
|
2228
|
+
if (( !in_z4h_wizard )); then
|
|
2229
|
+
print
|
|
2230
|
+
|
|
2231
|
+
flowing +c New config: "%U${__p9k_cfg_path_u//\\/\\\\}%u."
|
|
2232
|
+
if [[ -n $config_backup ]]; then
|
|
2233
|
+
flowing +c Backup of the old config: "%U${config_backup_u//\\/\\\\}%u."
|
|
2234
|
+
fi
|
|
2235
|
+
if [[ -n $zshrc_backup ]]; then
|
|
2236
|
+
flowing +c Backup of "%U${__p9k_zshrc_u//\\/\\\\}%u:" "%U${zshrc_backup_u//\\/\\\\}%u."
|
|
2237
|
+
fi
|
|
2238
|
+
fi
|
|
2239
|
+
|
|
2240
|
+
generate_config || return
|
|
2241
|
+
change_zshrc || return
|
|
2242
|
+
|
|
2243
|
+
if (( !in_z4h_wizard )); then
|
|
2244
|
+
print -rP ""
|
|
2245
|
+
flowing +c File feature requests and bug reports at "$(href https://github.com/romkatv/powerlevel10k/issues)"
|
|
2246
|
+
print -rP ""
|
|
2247
|
+
fi
|
|
2248
|
+
|
|
2249
|
+
success=1
|
|
2250
|
+
|
|
2251
|
+
} always {
|
|
2252
|
+
(( success )) || quit
|
|
2253
|
+
consume_input
|
|
2254
|
+
stty echo 2>/dev/null
|
|
2255
|
+
show_cursor
|
|
2256
|
+
restore_screen
|
|
2257
|
+
}
|