Also output LANG LC_* parameters in info action
This commit is contained in:
parent
a34b8dab64
commit
b7b33f3786
2 changed files with 9 additions and 13 deletions
|
@ -1,9 +1,7 @@
|
||||||
_zimfw_info() {
|
_zimfw_info() {
|
||||||
print -R 'zimfw version: '${_zversion}' (built at <%= Time.now.utc %>, 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 'OSTYPE: '${OSTYPE}
|
local zparam
|
||||||
print -R 'TERM: '${TERM}
|
for zparam in LANG ${(Mk)parameters:#LC_*} OSTYPE TERM TERM_PROGRAM TERM_PROGRAM_VERSION ZIM_HOME ZSH_VERSION; do
|
||||||
print -R 'TERM_PROGRAM: '${TERM_PROGRAM}
|
print -R ${(r.22....:.)zparam}${(P)zparam}
|
||||||
print -R 'TERM_PROGRAM_VERSION: '${TERM_PROGRAM_VERSION}
|
done
|
||||||
print -R 'ZIM_HOME: '${ZIM_HOME}
|
|
||||||
print -R 'ZSH_VERSION: '${ZSH_VERSION}
|
|
||||||
}
|
}
|
||||||
|
|
12
zimfw.zsh
12
zimfw.zsh
|
@ -434,13 +434,11 @@ _zimfw_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_zimfw_info() {
|
_zimfw_info() {
|
||||||
print -R 'zimfw version: '${_zversion}' (built at 2023-03-23 22:29:09 UTC, previous commit is 222c971)'
|
print -R 'zimfw version: '${_zversion}' (built at 2023-03-24 14:45:38 UTC, previous commit is a34b8da)'
|
||||||
print -R 'OSTYPE: '${OSTYPE}
|
local zparam
|
||||||
print -R 'TERM: '${TERM}
|
for zparam in LANG ${(Mk)parameters:#LC_*} OSTYPE TERM TERM_PROGRAM TERM_PROGRAM_VERSION ZIM_HOME ZSH_VERSION; do
|
||||||
print -R 'TERM_PROGRAM: '${TERM_PROGRAM}
|
print -R ${(r.22....:.)zparam}${(P)zparam}
|
||||||
print -R 'TERM_PROGRAM_VERSION: '${TERM_PROGRAM_VERSION}
|
done
|
||||||
print -R 'ZIM_HOME: '${ZIM_HOME}
|
|
||||||
print -R 'ZSH_VERSION: '${ZSH_VERSION}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_zimfw_install_update() {
|
_zimfw_install_update() {
|
||||||
|
|
Loading…
Reference in a new issue