-
check for updates in mac OS
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
- show hide folders & files
defaults write com.apple.finder AppleShowAllFiles -bool YES && killall Finder
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
# auto suggestions config (add this to .zshrc)
plugins=(zsh-autosuggestions)
source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
- configure zsh powerlevel10k theme
- create file ~/.p10k.zsh and copy this inside
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
# powerlevel10k theme config (add this to .zshrc)
themes=(powerlevel10k)
source ~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
-
install homebrew using rosetta terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# use brew from no-rosseta terminal (add this to .zshrc)
alias arch_r="arch -x86_64 $@"
alias brewr="arch_r /usr/local/bin/brew $@"
- install nvm using rosetta terminal
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
# copy and paste line for line in terminal
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install node
- install git
brewr install git
git config --global user.name "sturmenta"
git config --global user.email "sturmenta@gmail.com"
# create personal token from github and use when git ask for pass
- install yarn (using npm not brew)
sudo npm i -g yarn
Configure vscode from settings sync
Another programs
-
Clean my mac (check email with activate serial and download link)
Bunch of programs to elimu-dev (optional)
https://gist.github.com/sturmenta/e5a2804e35244a7af9738dd228c8c6df