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] ## [Unreleased]
_No unreleased changes._
## [1.4.0] - 2021-01-07
### Added ### Added
- Prompt before uninstalling modules, unless `-q` is set. - Prompt before uninstalling modules, unless `-q` is set.
- Show build date in info. - Show build date in info.
### Fixed ### Fixed
- Show error when no parameter is provided to `-c|--cmd`. - Show error when no parameter is provided to `-c|--cmd` in `zmodule`.
- Use repository's default branch instead of hardcoding the default to `master`. - 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 ## [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 [termtitle]: https://github.com/zimfw/termtitle
[s1ck94]: https://github.com/zimfw/s1ck94 [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.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.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 [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 %Bversion%b Print Zim version
Options: Options:
%B-q%b Quiet, only outputs errors %B-q%b Quiet (yes to prompts, and only outputs errors)
%B-v%b Verbose %B-v%b Verbose
" "
local ztool local ztool

View File

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

View File

@ -319,7 +319,7 @@ _zimfw_compile() {
} }
_zimfw_info() { _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 '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)
@ -366,7 +366,7 @@ _zimfw_upgrade() {
} }
zimfw() { 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] local -r zusage="Usage: %B${0}%b <action> [%B-q%b|%B-v%b]
Actions: Actions:
@ -384,7 +384,7 @@ Actions:
%Bversion%b Print Zim version %Bversion%b Print Zim version
Options: Options:
%B-q%b Quiet, only outputs errors %B-q%b Quiet (yes to prompts, and only outputs errors)
%B-v%b Verbose %B-v%b Verbose
" "
local ztool local ztool