if you mess up your dotfiles, don't worry, you can copy up-to-date files anytime from here.
Setup Dotfiles
All the settings described in this guide are backed into following dot(.) files
copy zshrc, alias etc., files to your home directory to make life easy.
to finish this task, run the following commands in terminal:
# go to your home directorycd~curl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/.zshrc-o~/.zshrccurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/.gitconfig-o~/.gitconfig# change `name` and `email` in `.gitconfig` after copying it, with:gitconfig--globaluser.name"Your Full Name"gitconfig--globaluser.email"Your Email"curl -L https://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/.config/starship.toml -o ~/.config/starship.toml
mkdir~/my&&cd~/mycurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/.gitattributes-o~/my/.gitattributescurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/.gitignore-o~/my/.gitignorecurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/aliases.zsh-o~/my/aliases.zshcurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/exports.zsh-o~/my/exports.zshcurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/extra.zsh-o~/my/extra.zshcurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/functions.zsh-o~/my/functions.zshcurl-Lhttps://raw.githubusercontent.com/xmlking/macbooksetup/main/dotfiles/my/paths.zsh-o~/my/paths.zsh
If you want to add paths or exports use respective files in ~/my folder instead of editing ~/.zshrc