Narrow zmodule help text
to avoid the horizontal scroll on it in the https://github.com/zimfw/zimfw GitHub homepage.
This commit is contained in:
parent
fbf0fe0ac6
commit
ef4fe38716
4 changed files with 60 additions and 60 deletions
|
@ -97,7 +97,7 @@ Repository options:
|
||||||
Initialization options:
|
Initialization options:
|
||||||
<strong>-f</strong>|<strong>--fpath</strong> <path> Add specified path to fpath. The path is relative to the module
|
<strong>-f</strong>|<strong>--fpath</strong> <path> Add specified path to fpath. The path is relative to the module
|
||||||
root directory. Default: <strong>functions</strong>, if the subdirectory exists.
|
root directory. Default: <strong>functions</strong>, if the subdirectory exists.
|
||||||
<strong>-a</strong>|<strong>--autoload</strong> <function_name> Autoload specified function. Default: all valid names inside the
|
<strong>-a</strong>|<strong>--autoload</strong> <func_name> Autoload specified function. Default: all valid names inside the
|
||||||
module's specified fpath paths.
|
module's specified fpath paths.
|
||||||
<strong>-s</strong>|<strong>--source</strong> <file_path> Source specified file. The file path is relative to the module root
|
<strong>-s</strong>|<strong>--source</strong> <file_path> Source specified file. The file path is relative to the module root
|
||||||
directory. Default: the file with largest size matching
|
directory. Default: the file with largest size matching
|
||||||
|
|
|
@ -18,7 +18,7 @@ Repository options:
|
||||||
Initialization options:
|
Initialization options:
|
||||||
%B-f%b|%B--fpath%b <path> Add specified path to fpath. The path is relative to the module
|
%B-f%b|%B--fpath%b <path> Add specified path to fpath. The path is relative to the module
|
||||||
root directory. Default: %Bfunctions%b, if the subdirectory exists.
|
root directory. Default: %Bfunctions%b, if the subdirectory exists.
|
||||||
%B-a%b|%B--autoload%b <function_name> Autoload specified function. Default: all valid names inside the
|
%B-a%b|%B--autoload%b <func_name> Autoload specified function. Default: all valid names inside the
|
||||||
module's specified fpath paths.
|
module's specified fpath paths.
|
||||||
%B-s%b|%B--source%b <file_path> Source specified file. The file path is relative to the module root
|
%B-s%b|%B--source%b <file_path> Source specified file. The file path is relative to the module root
|
||||||
directory. Default: the file with largest size matching
|
directory. Default: the file with largest size matching
|
||||||
|
|
|
@ -6,7 +6,7 @@ class Zim
|
||||||
@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)"
|
||||||
@version = "1.3.2"
|
@version = "1.3.3-SNAPSHOT"
|
||||||
@ellipsis = " ..."
|
@ellipsis = " ..."
|
||||||
@okay = "%F{green})%f "
|
@okay = "%F{green})%f "
|
||||||
@warn = "! "
|
@warn = "! "
|
||||||
|
|
|
@ -121,7 +121,7 @@ Repository options:
|
||||||
Initialization options:
|
Initialization options:
|
||||||
%B-f%b|%B--fpath%b <path> Add specified path to fpath. The path is relative to the module
|
%B-f%b|%B--fpath%b <path> Add specified path to fpath. The path is relative to the module
|
||||||
root directory. Default: %Bfunctions%b, if the subdirectory exists.
|
root directory. Default: %Bfunctions%b, if the subdirectory exists.
|
||||||
%B-a%b|%B--autoload%b <function_name> Autoload specified function. Default: all valid names inside the
|
%B-a%b|%B--autoload%b <func_name> Autoload specified function. Default: all valid names inside the
|
||||||
module's specified fpath paths.
|
module's specified fpath paths.
|
||||||
%B-s%b|%B--source%b <file_path> Source specified file. The file path is relative to the module root
|
%B-s%b|%B--source%b <file_path> Source specified file. The file path is relative to the module root
|
||||||
directory. Default: the file with largest size matching
|
directory. Default: the file with largest size matching
|
||||||
|
@ -315,7 +315,7 @@ _zimfw_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_zimfw_info() {
|
_zimfw_info() {
|
||||||
print -R 'zimfw version: '${_zversion}' (previous commit is ccace0c)'
|
print -R 'zimfw version: '${_zversion}' (previous commit is fbf0fe0)'
|
||||||
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)
|
||||||
|
@ -359,7 +359,7 @@ _zimfw_upgrade() {
|
||||||
}
|
}
|
||||||
|
|
||||||
zimfw() {
|
zimfw() {
|
||||||
local -r _zversion='1.3.2'
|
local -r _zversion='1.3.3-SNAPSHOT'
|
||||||
local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
|
local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
|
||||||
|
|
||||||
Actions:
|
Actions:
|
||||||
|
|
Loading…
Reference in a new issue