Skip to content

e-mc2/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is my steps to install tools and staff on MacOS from scratch.

  1. Install the CLI tools for Xcode:
xcode-select —-install
  1. Install Homebrew:
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash

 Make sure you follow Next steps in the end of Homebrew's instruction

  Then run Makefile to install brew packages, casks and macs with command:

make bundle
  1. Use Zsh from Homebrew instead of MacOs's Zsh link:
# add `zsh` to the system /etc/shells
sudo sh -c "echo /opt/homebrew/bin/zsh >> /etc/shells"

# use the next command line to change shell
chsh -s /opt/homebrew/bin/zsh

# confirm whether it has changed
dscl . -read /Users/$USERNAME UserShell
UserShell: /opt/homebrew/bin/zsh
  1. Install Oh-my-zsh and plugins:
curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | bash
git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Link configs for zsh, tmux, vscode, nvim and alacritty, install extensions for vscode
make links
make vscode
  1. Move this files and folders manually from other computers:
.aws
.ssh
.zsh_history
.gitconfig
pgp keys
  1. Set defaults for MacOS:
defaults write -g AppleFontSmoothing -int 0

About

e-mc2's dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published