1
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

#始终显示用户「资料库」(小白不建议)

1
chflags nohidden ~/Library/

#开启hidpi(黑果用,白果别用这个,所以我注释掉了)

1
#sh -c "$(curl -fsSL https://html.sqlsec.com/hidpi.sh)"

#这里改放入github的ip映射地址(反正我改了没用,就不往上写了)

1
2
3
4
5
6
7
sudo tee >> /etc/hosts <<-'EOF'

# GitHub Start

# GitHub End
EOF

#设置DNS(试了好像不管用)

1
2
3
4
5
6
#查看所有网络连接
networksetup -listallnetworkservices

networksetup -getdnsservers Ethernet 8.8.8.8 8.8.4.4 114.114.114.114 4.2.2.2 4.2.2.1

Ethernet