Skip to content

init

设置

解除密码限制

sh
pwpolicy -clearaccountpolicies

桌面与程序坞

关闭 根据最近使用情况自动重新排列空间

关闭 点按墙纸以显示桌面

触摸板

更多手势

  • 关闭 切换网页
  • 桌面切换改为 4指

三指

科学上网

使用 clash

机场:

sh
export https_proxy=http://127.0.0.1:7897;export http_proxy=http://127.0.0.1:7897;export all_proxy=socks5://127.0.0.1:7897

oh my zsh

https://sysin.org/blog/macos-zsh/

sh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

nvm

sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash

pnpm

sh
curl -fsSL https://get.pnpm.io/install.sh | sh -

alias name

sh
alias npp=pnpm

windows 要用 Powershell

sh
notepad $profile.AllUsersAllHosts
set-alias -name npp -value pnpm