Note: These are my dotfiles. Take anything you want, but at your own risk.
This repository mainly targets macOS systems.
$ cp config/iterm/* ~/Library/Preferences/
$ git clone https://github.com/pramendra/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ make
$ dotfiles dock #./bin/dotfiles dock
$ dotfiles macos
make unlink && make link
$ cd ~/.dotfiles
$ git pull
$ make
$ rm -rf /opt/homebrew/lib/node_modules/npm
$ ssh-keygen -t ed25519 -C "your_email@example.com"
$ gh auth login
Copy ssh public key
$ pbcopy < ~/.ssh/id_ed25519.pub
sudo softwareupdate -i -a
xcode-select --install
Note: The Xcode Command Line Tools includes git
and make
(not available on stock macOS). Now there are two options:
dotfiles dock
(set Dock items)dotfiles macos
(set macOS defaults)- Mackup
- Log in to Dropbox (and wait until synced)
ln -s ~/.config/mackup/.mackup.cfg ~
(until #632 is fixed)mackup restore
$ dotfiles help
Usage: dotfiles <command>
Commands:
clean Clean up caches (brew, npm, gem, rvm)
dock Apply macOS Dock settings
edit Open dotfiles in IDE (code) and Git GUI (stree)
help This help message
macos Apply macOS system defaults
test Run tests
update Update packages and pkg managers (OS, brew, npm, gem)
brew, npm, oh-my-zsh
Many thanks to the dotfiles community.
$ rm -rf ~/.nvm $ make npm
in Sonoma:
Open Terminal. Choose Terminal > Settings, then click General. Next to “Shells open with,” select “Command (complete path),” then enter the complete path to the shell you want to use1.
chsh -s /bin/zsh