mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
parent
5ea25e6736
commit
604f1ef9cd
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue