zsh 中判断设备是否为苹果 M1 芯片 if [[ $OSTYPE == darwin* && $CPUTYPE == arm64 ]]; then # do something fi

← 全部动态