1
0
Fork 0
mirror of synced 2024-12-27 00:13:20 -05:00

Update zmodule help message

This commit is contained in:
Eric Nielsen 2021-08-25 16:09:10 -05:00
parent da9270d651
commit 3bbddf2a23
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB
4 changed files with 5 additions and 8 deletions

View file

@ -99,8 +99,7 @@ Repository options:
<b>-u</b>|<b>--use</b> &lt;<b>git</b>|<b>degit</b>&gt; Install and update the module using the defined tool. Default is <b>-u</b>|<b>--use</b> &lt;<b>git</b>|<b>degit</b>&gt; Install and update the module using the defined tool. Default is
defined by <b>zstyle &apos;:zim:zmodule&apos; use &apos;</b>&lt;<b>git</b>|<b>degit</b>&gt;<b>&apos;</b>, or <b>git</b> if none defined by <b>zstyle &apos;:zim:zmodule&apos; use &apos;</b>&lt;<b>git</b>|<b>degit</b>&gt;<b>&apos;</b>, or <b>git</b> if none
is provided. is provided.
<b>git</b> requires git to be installed. Local changes are preserved during <b>git</b> requires git itself. Local changes are preserved during updates.
updates.
<b>degit</b> requires curl or wget, and currently only works with GitHub <b>degit</b> requires curl or wget, and currently only works with GitHub
URLs. Modules install faster and take less disk space. Local changes URLs. Modules install faster and take less disk space. Local changes
are lost during updates. Git submodules are not supported. are lost during updates. Git submodules are not supported.

View file

@ -18,8 +18,7 @@ Repository options:
%B-u%b|%B--use%b <%%Bgit%b|%Bdegit%b> Install and update the module using the defined tool. Default is %B-u%b|%B--use%b <%%Bgit%b|%Bdegit%b> Install and update the module using the defined tool. Default is
defined by %Bzstyle ':zim:zmodule' use '%b<%%Bgit%b|%Bdegit%b>%B'%b, or %Bgit%b if none defined by %Bzstyle ':zim:zmodule' use '%b<%%Bgit%b|%Bdegit%b>%B'%b, or %Bgit%b if none
is provided. is provided.
%Bgit%b requires git to be installed. Local changes are preserved during %Bgit%b requires git itself. Local changes are preserved during updates.
updates.
%Bdegit%b requires curl or wget, and currently only works with GitHub %Bdegit%b requires curl or wget, and currently only works with GitHub
URLs. Modules install faster and take less disk space. Local changes URLs. Modules install faster and take less disk space. Local changes
are lost during updates. Git submodules are not supported. are lost during updates. Git submodules are not supported.

View file

@ -4,7 +4,7 @@ class Zim
:clear_line, :ellipsis, :okay, :warn, :error, :done, :failed :clear_line, :ellipsis, :okay, :warn, :error, :done, :failed
def initialize def initialize
@version = "1.5.0" @version = "1.5.1-SNAPSHOT"
@home = "${ZDOTDIR:-${HOME}}" @home = "${ZDOTDIR:-${HOME}}"
@min_zsh_version = "5.2" @min_zsh_version = "5.2"
@startup_files_glob = ".z(shenv|profile|shrc|login|logout)" @startup_files_glob = ".z(shenv|profile|shrc|login|logout)"

View file

@ -124,8 +124,7 @@ Repository options:
%B-u%b|%B--use%b <%Bgit%b|%Bdegit%b> Install and update the module using the defined tool. Default is %B-u%b|%B--use%b <%Bgit%b|%Bdegit%b> Install and update the module using the defined tool. Default is
defined by %Bzstyle ':zim:zmodule' use '%b<%Bgit%b|%Bdegit%b>%B'%b, or %Bgit%b if none defined by %Bzstyle ':zim:zmodule' use '%b<%Bgit%b|%Bdegit%b>%B'%b, or %Bgit%b if none
is provided. is provided.
%Bgit%b requires git to be installed. Local changes are preserved during %Bgit%b requires git itself. Local changes are preserved during updates.
updates.
%Bdegit%b requires curl or wget, and currently only works with GitHub %Bdegit%b requires curl or wget, and currently only works with GitHub
URLs. Modules install faster and take less disk space. Local changes URLs. Modules install faster and take less disk space. Local changes
are lost during updates. Git submodules are not supported. are lost during updates. Git submodules are not supported.
@ -339,7 +338,7 @@ _zimfw_compile() {
} }
_zimfw_info() { _zimfw_info() {
print -R 'zimfw version: '${_zversion}' (built at 2021-08-10 14:52:54 UTC, previous commit is 35cd6f5)' print -R 'zimfw version: '${_zversion}' (built at 2021-08-25 21:04:22 UTC, previous commit is e89793c)'
print -R 'ZIM_HOME: '${ZIM_HOME} print -R 'ZIM_HOME: '${ZIM_HOME}
print -R 'Zsh version: '${ZSH_VERSION} print -R 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a) print -R 'System info: '$(command uname -a)