Commit 604f1ef9 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

kube-ps1: update to latest version (ede8098)

Fixes #8786
parent 5ea25e67
...@@ -184,7 +184,7 @@ _kube_ps1_file_newer_than() { ...@@ -184,7 +184,7 @@ _kube_ps1_file_newer_than() {
local check_time=$2 local check_time=$2
if [[ "${KUBE_PS1_SHELL}" == "zsh" ]]; then if [[ "${KUBE_PS1_SHELL}" == "zsh" ]]; then
mtime=$(zstat -L +mtime "${file}") mtime=$(zstat +mtime "${file}")
elif stat -c "%s" /dev/null &> /dev/null; then elif stat -c "%s" /dev/null &> /dev/null; then
# GNU stat # GNU stat
mtime=$(stat -L -c %Y "${file}") mtime=$(stat -L -c %Y "${file}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment