This commit is contained in:
Eric Nielsen 2020-07-05 09:36:21 -05:00
parent 1e4d1e784d
commit dc93d13903
No known key found for this signature in database
GPG Key ID: 47D1DBFA0765A1FB
5 changed files with 12 additions and 7 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
_No unreleased changes._
## [1.3.0] - 2020-07-05
### Added
- `-c|-cmd` option to `zmodule`.
@ -123,7 +127,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.2.2...HEAD
[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/zimfw/zimfw/compare/v1.2.2...v1.3.0
[1.2.2]: https://github.com/zimfw/zimfw/compare/v1.2.1...v1.2.2
[1.2.1]: https://github.com/zimfw/zimfw/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/zimfw/zimfw/compare/v1.1.1...v1.2.0

View File

@ -103,7 +103,7 @@ Initialization options:
directory. Default: 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> &lt;command&gt; Execute specified command. Occurrences of the <strong>{}</strong> placeholder in the
command are subsituted by the module root directory path.
command are substituted by the module root directory path.
<strong>-s 'script.zsh'</strong> and <strong>-c 'source {}/script.zsh'</strong> are equivalent.
<strong>-d</strong>|<strong>--disabled</strong> Don't initialize or uninstall the module.
</pre>

View File

@ -24,7 +24,7 @@ Initialization options:
directory. Default: 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 subsituted by the module root directory path.
command are substituted by the module root directory path.
%B-s 'script.zsh'%b and %B-c 'source {}/script.zsh'%b are equivalent.
%B-d%b|%B--disabled%b Don't initialize or uninstall the module.
"

View File

@ -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.3.0-SNAPSHOT"
@version = "1.3.0"
@ellipsis = " ..."
@okay = "%F{green})%f "
@warn = "! "

View File

@ -127,7 +127,7 @@ Initialization options:
directory. Default: 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 subsituted by the module root directory path.
command are substituted by the module root directory path.
%B-s 'script.zsh'%b and %B-c 'source {}/script.zsh'%b are equivalent.
%B-d%b|%B--disabled%b Don't initialize or uninstall the module.
"
@ -313,7 +313,7 @@ _zimfw_compile() {
}
_zimfw_info() {
print -R 'zimfw version: '${_zversion}' (previous commit is 9b02b41)'
print -R 'zimfw version: '${_zversion}' (previous commit is 1e4d1e7)'
print -R 'ZIM_HOME: '${ZIM_HOME}
print -R 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a)
@ -357,7 +357,7 @@ _zimfw_upgrade() {
}
zimfw() {
local -r _zversion='1.3.0-SNAPSHOT'
local -r _zversion='1.3.0'
local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
Actions: