From 4fc2dbfd3dceb63ee0b54bd7a9a96d1d88c67722 Mon Sep 17 00:00:00 2001 From: Matthew Winter <33818+wintermi@users.noreply.github.com> Date: Tue, 17 Jan 2023 09:42:17 +1100 Subject: [PATCH] feat: cleanup directories (#104) * fix: remove the duplicate and misspelt directory '.github/ISSUE_TAMPLATE' * feat: move the plugins directory to be part of the repo --- .github/ISSUE_TAMPLATE/bug_report.yml | 75 ---------------------- .github/ISSUE_TAMPLATE/config.yml | 8 --- .github/ISSUE_TAMPLATE/feature_request.yml | 37 ----------- .gitignore | 2 +- install.zsh | 1 - plugins/.gitkeep | 0 6 files changed, 1 insertion(+), 122 deletions(-) delete mode 100644 .github/ISSUE_TAMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TAMPLATE/config.yml delete mode 100644 .github/ISSUE_TAMPLATE/feature_request.yml create mode 100644 plugins/.gitkeep diff --git a/.github/ISSUE_TAMPLATE/bug_report.yml b/.github/ISSUE_TAMPLATE/bug_report.yml deleted file mode 100644 index d20c5a3..0000000 --- a/.github/ISSUE_TAMPLATE/bug_report.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: Report a bug -description: Report a bug that is caused by Zap. -body: - - type: markdown - attributes: - value: | - ## Self Check - - Look for similar errors in existing [GitHub Issues](https://github.com/zap-zsh/zap/issues?q=is%3Aissue) (open or closed). - - Try reaching out on the [Discord server](https://discordapp.com/channels/701530051140780102/1039922539775922198) for help. - - type: textarea - validations: - required: true - attributes: - label: Describe the bug - description: A clear description of what the bug is. - - type: textarea - validations: - required: true - attributes: - label: Steps to reproduce - description: | - Steps to reproduce the problem. - placeholder: | - For example: - 1. Enable plugin '...' - 2. Run command '...' - 3. See error - - type: textarea - validations: - required: true - attributes: - label: Expected behavior - description: A brief description of what should happen. - - type: textarea - attributes: - label: Screenshots and recordings - description: | - If applicable, add screenshots to help explain your problem. You can also record an asciinema session: https://asciinema.org/ - - type: input - validations: - required: true - attributes: - label: OS / Linux distribution - placeholder: Windows 10, Ubuntu 20.04, Arch Linux, macOS 10.15... - - type: input - validations: - required: true - attributes: - label: Zsh version - description: Run `zsh --version` to check. - placeholder: "5.6" - - type: input - validations: - required: true - attributes: - label: Zap version - description: Run `zap version` to check. - placeholder: v0.2.0 on commit g8d3ca00 - - type: input - validations: - required: true - attributes: - label: Terminal emulator - placeholder: iTerm2, GNOME Terminal, Terminal.app... - - type: dropdown - attributes: - label: If using WSL on Windows, which version of WSL - description: Open a CMD or PowerShell session and run `wsl -l -v` to check. - options: - - WSL1 - - WSL2 - - type: textarea - attributes: - label: Additional context - description: Add any other context about the problem here. This can be themes, plugins, custom settings... diff --git a/.github/ISSUE_TAMPLATE/config.yml b/.github/ISSUE_TAMPLATE/config.yml deleted file mode 100644 index ba30b87..0000000 --- a/.github/ISSUE_TAMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: true -contact_links: - - name: Support - url: https://github.com/zap-zsh/zap/issues - about: Ask the community for support - - name: Get help on Discord - url: https://discordapp.com/channels/701530051140780102/1039922539775922198 - about: Have a quick question? Join the Discord server and ask on the appropriate channel. diff --git a/.github/ISSUE_TAMPLATE/feature_request.yml b/.github/ISSUE_TAMPLATE/feature_request.yml deleted file mode 100644 index 40b3a2a..0000000 --- a/.github/ISSUE_TAMPLATE/feature_request.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Feature request -description: Suggest a feature for Zap -labels: ["Feature"] -body: - - type: markdown - attributes: - value: | - ## Self Check - - Look for similar features in existing [GitHub Issues](https://github.com/zap-zsh/zap/issues?q=is%3Aissue) (open or closed). - - type: input - attributes: - label: If the feature request is for a plugin or theme, specify it here. - description: The name of the plugin or theme that you would like us to improve. - placeholder: e.g. Git plugin, Agnoster theme - - type: textarea - attributes: - label: If the feature solves a problem you have, specify it here. - description: A description of what the problem is. - placeholder: Ex. I'm always frustrated when... - - type: textarea - attributes: - label: Describe the proposed feature. - description: A description of what you want to happen. Be as specific as possible. - validations: - required: true - - type: textarea - attributes: - label: Describe alternatives you've considered - description: A description of any alternative solutions or features you've considered. This can also include other plugins or themes. - - type: textarea - attributes: - label: Additional context - description: Add any other context, screenshots or Discord conversations about the feature request here. Also if you have any PRs related to this issue that are already open that you would like us to look at. - - type: textarea - attributes: - label: Related Issues - description: Is there any open or closed issues that is related to this feature request? If so please link them below! diff --git a/.gitignore b/.gitignore index 1556c19..729e126 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ Thumbs.db *.code-workspace # Zap Ignores -plugins/ +plugins/**/ installed_plugins diff --git a/install.zsh b/install.zsh index 23df623..fe811ab 100755 --- a/install.zsh +++ b/install.zsh @@ -17,7 +17,6 @@ main() { } git clone -b "${BRANCH:-master}" https://github.com/zap-zsh/zap.git "$ZAP_DIR" > /dev/null 2>&1 || { echo "❌ Failed to install Zap" && return 2 } - mkdir -p "$ZAP_DIR/plugins" # @formatter:off if ! grep -q '[ -f "$HOME/.local/share/zap/zap.zsh" ] && source "$HOME/.local/share/zap/zap.zsh"' "$ZSHRC"; then diff --git a/plugins/.gitkeep b/plugins/.gitkeep new file mode 100644 index 0000000..e69de29