1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

kube-ps1: update to latest version (ede8098)

Fixes #8786
This commit is contained in:
Marc Cornellà
2020-05-25 11:57:01 +02:00
parent 5ea25e6736
commit 604f1ef9cd

View File

@@ -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}")