mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Merge pull request #635 from laggardkernel/fix-vagrant
hardcode location of command stat for macOS
This commit is contained in:
+2
-2
@@ -133,8 +133,8 @@ _vagrant_caching_policy()
|
||||
;;
|
||||
esac
|
||||
|
||||
case $(uname -s) in
|
||||
Darwin) STATCMD="stat -f '%c'" ;;
|
||||
case "$OSTYPE" in
|
||||
darwin*) STATCMD="/usr/bin/stat -f '%c'" ;;
|
||||
*) STATCMD="stat -c '%Z'" ;;
|
||||
esac
|
||||
reg_time=${$(${(z)STATCMD} $check_file):Q}
|
||||
|
||||
Reference in New Issue
Block a user