1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00
This commit is contained in:
Eric Nielsen 2021-01-07 13:41:35 -05:00
parent bcae8c0a06
commit 3e06f0aa99
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB
4 changed files with 14 additions and 8 deletions

View file

@ -7,13 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
_No unreleased changes._
## [1.4.0] - 2021-01-07
### Added
- Prompt before uninstalling modules, unless `-q` is set.
- Show build date in info.
### Fixed
- Show error when no parameter is provided to `-c|--cmd`.
- Use repository's default branch instead of hardcoding the default to `master`.
- Show error when no parameter is provided to `-c|--cmd` in `zmodule`.
- Use repository's default branch instead of hardcoding the default to `master`,
when no branch is specified in `zmodule`.
## [1.3.2] - 2020-08-01
@ -145,7 +150,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.3.2...HEAD
[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.4.0...HEAD
[1.4.0]: https://github.com/zimfw/zimfw/compare/v1.3.2...v1.4.0
[1.3.2]: https://github.com/zimfw/zimfw/compare/v1.3.1...v1.3.2
[1.3.1]: https://github.com/zimfw/zimfw/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/zimfw/zimfw/compare/v1.2.2...v1.3.0

View file

@ -17,7 +17,7 @@ Actions:
%Bversion%b Print Zim version
Options:
%B-q%b Quiet, only outputs errors
%B-q%b Quiet (yes to prompts, and only outputs errors)
%B-v%b Verbose
"
local ztool

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

View file

@ -319,7 +319,7 @@ _zimfw_compile() {
}
_zimfw_info() {
print -R 'zimfw version: '${_zversion}' (built at 2021-01-04 20:46:42 UTC, previous commit is 3567694)'
print -R 'zimfw version: '${_zversion}' (built at 2021-01-07 18:39:43 UTC, previous commit is bcae8c0)'
print -R 'ZIM_HOME: '${ZIM_HOME}
print -R 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a)
@ -366,7 +366,7 @@ _zimfw_upgrade() {
}
zimfw() {
local -r _zversion='1.4.0-SNAPSHOT'
local -r _zversion='1.4.0'
local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
Actions:
@ -384,7 +384,7 @@ Actions:
%Bversion%b Print Zim version
Options:
%B-q%b Quiet, only outputs errors
%B-q%b Quiet (yes to prompts, and only outputs errors)
%B-v%b Verbose
"
local ztool