mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 00:19:15 +00:00
improve tests
This commit is contained in:
@@ -63,3 +63,33 @@ dotfiles:
|
||||
profiles:
|
||||
_EOF
|
||||
}
|
||||
|
||||
# osx tricks
|
||||
# brew install coreutils gnu-sed
|
||||
if [[ $OSTYPE == 'darwin'* ]]; then
|
||||
mktemp() {
|
||||
gmktemp "$@"
|
||||
}
|
||||
stat() {
|
||||
gstat "$@"
|
||||
}
|
||||
sed() {
|
||||
gsed "$@"
|
||||
}
|
||||
wc() {
|
||||
gwc "$@"
|
||||
}
|
||||
date() {
|
||||
gdate "$@"
|
||||
}
|
||||
chmod() {
|
||||
gchmod "$@"
|
||||
}
|
||||
|
||||
export -f mktemp
|
||||
export -f stat
|
||||
export -f sed
|
||||
export -f wc
|
||||
export -f date
|
||||
export -f chmod
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user