Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
604f1ef9
Commit
604f1ef9
authored
May 25, 2020
by
Marc Cornellà
Browse files
kube-ps1: update to latest version (ede8098)
Fixes #8786
parent
5ea25e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/kube-ps1/kube-ps1.plugin.zsh
View file @
604f1ef9
...
...
@@ -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
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment