1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

Add build date in info

Fixes #421
This commit is contained in:
Eric Nielsen 2021-01-02 18:40:58 -05:00
parent dfbe535430
commit 153c547466
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB
3 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 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`.

View file

@ -1,5 +1,5 @@
_zimfw_info() {
print -R 'zimfw version: '${_zversion}' (previous commit is <%= `git rev-parse --short HEAD | tr -d '\r\n'` %>)'
print -R 'zimfw version: '${_zversion}' (built at <%= Time.now.utc %>, previous commit is <%= `git rev-parse --short HEAD | tr -d '\r\n'` %>)'
print -R 'ZIM_HOME: '${ZIM_HOME}
print -R 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a)

View file

@ -319,7 +319,7 @@ _zimfw_compile() {
}
_zimfw_info() {
print -R 'zimfw version: '${_zversion}' (previous commit is c6f0720)'
print -R 'zimfw version: '${_zversion}' (built at 2021-01-02 23:37:59 UTC, previous commit is dfbe535)'
print -R 'ZIM_HOME: '${ZIM_HOME}
print -R 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a)