fix date
This commit is contained in:
parent
93f3ee1ac5
commit
c054da7450
@ -47,7 +47,7 @@ function ozsh_update {
|
||||
git -C $d pull --rebase
|
||||
done
|
||||
|
||||
echo $(date) > "$OZSH_LASTUPDATE_FILE"
|
||||
echo $(date +%Y-%m-%d) > "$OZSH_LASTUPDATE_FILE"
|
||||
}
|
||||
|
||||
function ozsh_autoupdate {
|
||||
@ -81,4 +81,5 @@ function ozsh_init {
|
||||
ozsh_init
|
||||
|
||||
# undefine functions
|
||||
unset -f ozsh_init
|
||||
unset -f ozsh_init
|
||||
unset -f ozsh_autoupdate
|
Loading…
Reference in New Issue
Block a user