zimfw/src/stage2
Eric Nielsen 2e9256a567
Add new mkdir tool to generate empty modules
This will allow creating modules that contain only externally generated
files. For example, this is how I currently use it to generate modules
for code that is supposed to be eval'ed:

    zmodule-eval() {
      local -r zcommand=${${=1}[1]} ztarget=${1//[^[:alnum:]]/-}.zsh
      zmodule custom-${zcommand} --use mkdir --if-command ${zcommand} \
          --cmd "if [[ ! {}/${ztarget} -nt \${commands[${zcommand}]} ]]; then ${1} >! {}/${ztarget}; zcompile -UR {}/${ztarget}; fi" \
          --source ${ztarget}
    }
    zmodule-eval 'starship init zsh'
    unfunction zmodule-eval
2024-02-16 20:41:29 -05:00
..
20_guard.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -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 Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
29_zimfw_build_init.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -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 Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
30_zmodule.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
31_zimfw_source_zimrc.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
34_zimfw_list_unuseds.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_check_dumpfile.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_check_version.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_clean_compiled.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_clean_dumpfile.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_compile.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -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 Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
50_zimfw_upgrade.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
69_zimfw_run_list.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
70_zimfw_create_dir.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
70_zimfw_print_error.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
70_zimfw_print_okay.zsh.erb Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00
70_zimfw_print_warn.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
71_zimfw_pull_print_okay.zsh.erb Tools run in a subshell 2023-03-31 20:34:26 -05:00
75_zimfw_tool_degit.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
75_zimfw_tool_git.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
75_zimfw_tool_mkdir.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -05:00
77_zimfw_run_tool.zsh.erb Add new mkdir tool to generate empty modules 2024-02-16 20:41:29 -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 Remove prompt expansion from print statements 2023-09-16 13:21:14 -05:00