summaryrefslogtreecommitdiff
path: root/plugins/kube-ps1/kube-ps1.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kube-ps1/kube-ps1.plugin.zsh')
-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}")