v1.4.3
This commit is contained in:
parent
163d36b61b
commit
b4b9829360
5 changed files with 18 additions and 10 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -7,13 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
_No unreleased changes._
|
||||
|
||||
## [1.4.3] - 2021-03-19
|
||||
|
||||
### Fixed
|
||||
- Prefer the prezto module format when using defaults to initialize a module.
|
||||
This is the format we use in our Zim framework modules. It's is not well
|
||||
documented anywhere officially, but in short words a prezto module has:
|
||||
This is the format we use in our Zim framework modules. It's not well
|
||||
documented anywhere officially, but in short words a prezto module can have:
|
||||
* a `functions` subdirectory that is added to the fpath by the framework,
|
||||
* files inside the `functions` subdirectory that are autoloaded by the
|
||||
framework (except for file names that match `_*` or `prompt_*_setup`),
|
||||
framework (except for those with names matching `_*` or `prompt_*_setup`),
|
||||
* an `init.zsh` file that is sourced by the framework.
|
||||
|
||||
## [1.4.2] - 2021-02-19
|
||||
|
@ -170,7 +174,8 @@ Take your time to review the updated [README.md] and the changes listed below.
|
|||
[termtitle]: https://github.com/zimfw/termtitle
|
||||
[s1ck94]: https://github.com/zimfw/s1ck94
|
||||
|
||||
[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.4.2...HEAD
|
||||
[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.4.3...HEAD
|
||||
[1.4.3]: https://github.com/zimfw/zimfw/compare/v1.4.2...v1.4.3
|
||||
[1.4.2]: https://github.com/zimfw/zimfw/compare/v1.4.1...v1.4.2
|
||||
[1.4.1]: https://github.com/zimfw/zimfw/compare/v1.4.0...v1.4.1
|
||||
[1.4.0]: https://github.com/zimfw/zimfw/compare/v1.3.2...v1.4.0
|
||||
|
|
|
@ -100,7 +100,8 @@ Initialization options:
|
|||
<strong>-a</strong>|<strong>--autoload</strong> <func_name> Autoload specified function. Default: all valid names inside the
|
||||
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
|
||||
directory. Default: the file with largest size matching
|
||||
directory. Default: <strong>init.zsh</strong>, if the <strong>functions</strong> subdirectory also
|
||||
exists, or the file with largest size matching
|
||||
<strong>{init.zsh,module_name.{zsh,plugin.zsh,zsh-theme,sh}}</strong>, if any exist.
|
||||
<strong>-c</strong>|<strong>--cmd</strong> <command> Execute specified command. Occurrences of the <strong>{}</strong> placeholder in the
|
||||
command are substituted by the module root directory path.
|
||||
|
|
|
@ -21,7 +21,8 @@ Initialization options:
|
|||
%B-a%b|%B--autoload%b <func_name> Autoload specified function. Default: all valid names inside the
|
||||
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
|
||||
directory. Default: the file with largest size matching
|
||||
directory. Default: %Binit.zsh%b, if the %Bfunctions%b subdirectory also
|
||||
exists, or the file with largest size matching
|
||||
%B{init.zsh,module_name.{zsh,plugin.zsh,zsh-theme,sh}}%b, if any exist.
|
||||
%B-c%b|%B--cmd%b <command> Execute specified command. Occurrences of the %B{}%b placeholder in the
|
||||
command are substituted by the module root directory path.
|
||||
|
|
|
@ -6,7 +6,7 @@ class Zim
|
|||
@home = "${ZDOTDIR:-${HOME}}"
|
||||
@min_zsh_version = "5.2"
|
||||
@startup_files_glob = ".z(shenv|profile|shrc|login|logout)"
|
||||
@version = "1.4.3-SNAPSHOT"
|
||||
@version = "1.4.3"
|
||||
@ellipsis = " ..."
|
||||
@okay = "%F{green})%f "
|
||||
@warn = "! "
|
||||
|
|
|
@ -128,7 +128,8 @@ Initialization options:
|
|||
%B-a%b|%B--autoload%b <func_name> Autoload specified function. Default: all valid names inside the
|
||||
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
|
||||
directory. Default: the file with largest size matching
|
||||
directory. Default: %Binit.zsh%b, if the %Bfunctions%b subdirectory also
|
||||
exists, or the file with largest size matching
|
||||
%B{init.zsh,module_name.{zsh,plugin.zsh,zsh-theme,sh}}%b, if any exist.
|
||||
%B-c%b|%B--cmd%b <command> Execute specified command. Occurrences of the %B{}%b placeholder in the
|
||||
command are substituted by the module root directory path.
|
||||
|
@ -328,7 +329,7 @@ _zimfw_compile() {
|
|||
}
|
||||
|
||||
_zimfw_info() {
|
||||
print -R 'zimfw version: '${_zversion}' (built at 2021-03-19 23:11:36 UTC, previous commit is 65783e6)'
|
||||
print -R 'zimfw version: '${_zversion}' (built at 2021-03-19 23:42:38 UTC, previous commit is 163d36b)'
|
||||
print -R 'ZIM_HOME: '${ZIM_HOME}
|
||||
print -R 'Zsh version: '${ZSH_VERSION}
|
||||
print -R 'System info: '$(command uname -a)
|
||||
|
@ -375,7 +376,7 @@ _zimfw_upgrade() {
|
|||
}
|
||||
|
||||
zimfw() {
|
||||
local -r _zversion='1.4.3-SNAPSHOT'
|
||||
local -r _zversion='1.4.3'
|
||||
local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
|
||||
|
||||
Actions:
|
||||
|
|
Loading…
Reference in a new issue