Commit graph

25 commits

Author SHA1 Message Date
Vladislav Doster 515688bc97 revert: "Merge branch 'refactor/zinit-function-names' into main"
This reverts commit b979847bd4, reversing
changes made to da924a21a1.

I (@vladdoster) accidentally merged this into the wrong repository. Apologies for the lack of due diligence.
2022-12-17 21:11:41 -06:00
Vladislav Doster c28580c3fc refactor: rename zinit functions
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-09 15:40:31 -06:00
vladislav doster 49926e075a
maint: consistent vim mode lines across all files (#393) 2022-10-05 09:59:15 -05:00
vladislav doster 308c9d4cd8
fix: remove curl option "--tcp-fastopen" which is not always available (#299)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-03 20:20:36 -05:00
vladislav doster 8620574a55
fix: account for systems where musl is present (#269)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-18 14:36:23 -05:00
vladislav doster d59f15067e refactor: zunit tests & gh-r logic (#201)
- Ability to run unit tests without Docker
- Define a Z-unit \_support/bootstrap script defining the isolated test
  environment in a temp dir via `mktemp -d`, to ensure a clean test
  environment.
- GH actions workflow now tests macOS & Windows and bumps Ubuntu to the
  latest.
- GH actions workflow leverages Homebrew to simplify installing zsh &
  zunit
- Condense Z-unit GH workflow into more organized build matrix. It
  avoids creating a new environment per test file as some test files
  only have one or two tests.
- Change or remove logic in the `setup` and `teardown` functions to
  commands which apply to type of tests being run (e.g., `gh-r` setup
  sets defualt ice `gh-r` and `nocompile`).
- Expand tests for testing `gh-r` on Linux & macOS for ensuring correct
  release selection.
- Correct GH workflow `on` conditions to avoid duplicating jobs.
- Update `gh-r` ice logic to be smarter about selecting a release for
  the current system.
- Expand linting to include the tools `shfmt`, `shellcheck`, and
  `mdformat`
- Rudimentary testing for all Zinit annexes (e.g., install with no
  errors)

|   Test   | Before | Now |
| :------: | :----: | :-: |
| annexes  |   3    | 10  |
|   gh-r   |   3    | 95  |
| plugins  |   2    |  3  |
| snippets |   4    |  4  |

<img width="841" alt="Screen Shot 2022-04-23 at 21 57 08" src="https://user-images.githubusercontent.com/10052309/164954220-123a8dc5-0399-41e3-b9cf-98b2cf599145.png">

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-24 05:24:10 -05:00
Vladislav Doster 96fe03f85b feat: expand linted file types to markdown and shell
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-17 17:26:08 -05:00
KOBAYASHI Ryota 4b2f053d14 fix install script 2021-11-30 18:15:06 +09:00
Daehyeok Mun a4eda707f4 Fix warning messages
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2021-11-24 23:39:17 -08:00
Philipp Schmitt 6c5df71e96
Fetch the annexes during the install (#104) 2021-11-23 11:18:11 +01:00
Philipp Schmitt 7cd8768de4
Update default branch from master to main (#100) 2021-11-22 08:40:16 +01:00
Philipp Schmitt 351bdeb10a
Do not prompt for the annexes if updating 2021-11-21 12:03:04 +01:00
Philipp Schmitt 85bf36c6b0
Fix warning messages 2021-11-21 11:55:31 +01:00
Philipp Schmitt 564801c2e5
Fix typo: warning -> warn 2021-11-21 11:53:50 +01:00
Philipp Schmitt 74ee9397e9
Update git-process-output.zsh url 2021-11-16 11:09:59 +01:00
Philipp Schmitt 6436189cda
Update zsh version check 2021-11-15 22:52:05 +01:00
Philipp Schmitt b9674e2995
Add warning about zsh version if < 5.5 2021-11-15 22:24:32 +01:00
Philipp Schmitt 0c425c656d
🔪 Shorten the tutorial section 2021-11-15 21:53:08 +01:00
Philipp Schmitt 4c2b461344
Update tutorial section 2021-11-15 21:32:59 +01:00
Aaron Lichtman 5253de6179
Update scripts/install.sh 2021-11-15 14:29:55 -06:00
Philipp Schmitt dd704137e5
We need more emojis. 2021-11-15 21:13:58 +01:00
Philipp Schmitt c27252c983
Remove the last remaining inline color escape sequences 2021-11-15 21:09:51 +01:00
Philipp Schmitt 0742fe925a
Only chmod +x the git output script if it was downloaded 2021-11-15 20:12:52 +01:00
Philipp Schmitt e7a007aa74
Add NO_EDIT and NO_TUTORIAL to skip resp. the zshrc edits or the tutorial 2021-11-15 20:02:30 +01:00
Philipp Schmitt c4d3049591
Fix #60: Move the installer to scripts/ 2021-11-15 19:56:52 +01:00
Renamed from doc/install.sh (Browse further)