zimfw/src/stage2
Eric Nielsen ee93f7944f
Don't use a new shell to run tool anymore
This was needed when we were using xargs, but we're already using zargs
instead for quite some time. Pro is that now common functions are reused
instead of repeated. Con (or change) is that due to that reuse, and in
favor of simplification, the warning for a module with git submodules in
degit is in a separate line from a separate print call now.

Also fix regressions from recent commits:
- Need to call _zimfw_source_zimrc twice with 1 and 2 flags instead of
  with flag 3, since flag 2 must be used after module is installed or
  updated.
- Need to call _zimfw_print_okay from the function that handles on-pull,
  since we want to include the on-pull output in verbose mode. This
  function was called just `handle` before, now it's called
  _zimfw_pull_print_okay.

Still need to figure out how to return a final error code from
_zimfw_run_tool_action.
2023-03-28 07:56:37 -05:00
..
20_guard.zsh.erb Add list action, don't run tool on external module 2021-09-19 13:37:13 -05:00
22_zimfw_print.zsh.erb Use short `if` form instead of `&&` 2020-02-03 20:49:52 -05:00
28_zimfw_mv.zsh.erb Deprecate compile in background via login_init.zsh 2022-01-10 09:29:32 -05:00
29_zimfw_build_init.zsh.erb Quote path names in init.zsh 2023-02-16 07:51:30 -05:00
29_zimfw_build_login_init.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
30_zimfw_build.zsh.erb Refactor: extract _zimfw_print function 2020-01-09 07:13:31 -05:00
30_zmodule.zsh.erb Quote path names in init.zsh 2023-02-16 07:51:30 -05:00
31_zimfw_source_zimrc.zsh.erb Allow customizing .zimrc file path 2022-10-23 19:34:14 -05:00
34_zimfw_list_unuseds.zsh.erb Add `--root` option to `zmodule` 2022-09-26 20:33:49 -05:00
50_zimfw_check_dumpfile.zsh.erb Deprecate check-dumpfile action 2023-02-25 19:03:37 -05:00
50_zimfw_check_version.zsh.erb Add check and rename version-check to check-version 2023-03-26 09:34:07 -05:00
50_zimfw_clean_compiled.zsh.erb Override repository options along zmodule calls 2022-05-17 18:43:59 -05:00
50_zimfw_clean_dumpfile.zsh.erb Deprecate check-dumpfile action 2023-02-25 19:03:37 -05:00
50_zimfw_compile.zsh.erb Add `--root` option to `zmodule` 2022-09-26 20:33:49 -05:00
50_zimfw_info.zsh.erb Also output LANG LC_* parameters in info action 2023-03-24 09:46:44 -05:00
50_zimfw_uninstall.zsh.erb Use `print -l` to print multiple lines 2021-09-23 14:29:40 -05:00
50_zimfw_upgrade.zsh.erb Use `print -l` to print multiple lines 2021-09-23 14:29:40 -05:00
69_zimfw_run_list.zsh.erb Fix quoting string in glob 2022-09-28 19:42:05 -05:00
70_zimfw_print_error.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
70_zimfw_print_okay.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
71_zimfw_pull_print_okay.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
75_zimfw_tool_degit.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
75_zimfw_tool_git.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
77_zimfw_run_tool.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
78_zimfw_run_tool_action.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00
80_zimfw.zsh.erb Don't use a new shell to run tool anymore 2023-03-28 07:56:37 -05:00