macinit

编程

alias ll="ls -alh"

alias cwd="pwd | pbcopy"

 

#Homebrew 源代码仓库

#git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

#Homebrew 核心软件仓库

#git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

#Homebrew cask 软件仓库,提供 macOS 应用和大型二进制文件

#git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git

#brew update

export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles

 

#pypi 镜像

#pip install pip -U

#pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

 

#隐藏dashboard

#defaults write com.apple.dashboard mcx-disabled -boolean YES;

#killall Dock;

#显示隐藏文件

#defaults write com.apple.finder AppleShowAllFiles -bool true;

#标题栏显示全路径

#defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES;

#KillAll Finder;

以上是 macinit 的全部内容, 来源链接: utcz.com/z/512117.html

回到顶部