summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-05-25 11:57:01 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-05-25 11:58:20 +0200
commit604f1ef9cd8c1e3b1b53c394e28d21f39609a317 (patch)
tree8ea3f9d60490b25bc1df46179e21ac648048c3a4
parent5ea25e6736430ab5b8439d11b2e9a837a803771b (diff)
downloadzsh-604f1ef9cd8c1e3b1b53c394e28d21f39609a317.tar.gz
zsh-604f1ef9cd8c1e3b1b53c394e28d21f39609a317.tar.bz2
zsh-604f1ef9cd8c1e3b1b53c394e28d21f39609a317.zip
kube-ps1: update to latest version (ede8098)
Fixes #8786
-rw-r--r--plugins/kube-ps1/kube-ps1.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kube-ps1/kube-ps1.plugin.zsh b/plugins/kube-ps1/kube-ps1.plugin.zsh
index 0f68ca938..9e77cbc19 100644
--- a/plugins/kube-ps1/kube-ps1.plugin.zsh
+++ b/plugins/kube-ps1/kube-ps1.plugin.zsh
@@ -184,7 +184,7 @@ _kube_ps1_file_newer_than() {
local check_time=$2
if [[ "${KUBE_PS1_SHELL}" == "zsh" ]]; then
- mtime=$(zstat -L +mtime "${file}")
+ mtime=$(zstat +mtime "${file}")
elif stat -c "%s" /dev/null &> /dev/null; then
# GNU stat
mtime=$(stat -L -c %Y "${file}")