dotfiles
Download Dotfile to Corresponding Folder
.zshrc
Download my # 先備份當前的 `.zshrc`
cp ~/.zshrc ~/.zshrc_$(date -u +"%Y-%m-%dT%H:%M:%SZ")
# 下載 `.zshrc` 至家目錄
curl https://raw.githubusercontent.com/ngseke/dotfiles/master/.zshrc -o ~/.zshrc
.p10k.zsh
Download my curl https://raw.githubusercontent.com/ngseke/dotfiles/master/.p10k.zsh -o ~/.p10k.zsh
alias.zsh
Download my curl https://raw.githubusercontent.com/ngseke/dotfiles/master/alias.zsh -o ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/alias.zsh
iterm-profile.json
Download my curl https://raw.githubusercontent.com/ngseke/dotfiles/master/iterm-profile.json -o ~/Downloads/iterm-profile.json
Download font
curl https://raw.githubusercontent.com/ngseke/dotfiles/master/fonts/LigaLigaturizedMenlo-Regular.ttf -o ~/Library/Fonts/LigaLigaturizedMenlo-Regular.ttf
Usage:
font-family: "Liga Ligaturized Menlo", "Hiragino Maru Gothic ProN"
Execute Script
Overwrite macOS default
curl -s https://raw.githubusercontent.com/ngseke/dotfiles/master/macos-defaults.sh | sh