Skip to content

Instantly share code, notes, and snippets.

Last active February 5, 2023 10:11
What would you like to do?
mac m1- start configuration
defaults write autohide-delay -float 0; defaults write autohide-time-modifier -int 0;killall Dock
  • show hide folders & files
defaults write AppleShowAllFiles -bool YES && killall Finder
sh -c "$(curl -fsSL"
git clone ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

# auto suggestions config (add this to .zshrc)
source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
  • configure zsh powerlevel10k theme
  1. create file ~/.p10k.zsh and copy this inside
git clone --depth=1 ~/.oh-my-zsh/custom/themes/powerlevel10k

# powerlevel10k theme config (add this to .zshrc)
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
/bin/bash -c "$(curl -fsSL"

# 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- | bash

# copy and paste line for line in terminal
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/"  # 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 "sturmenta"
git config --global ""

# create personal token from github and use when git ask for pass
sudo npm i -g yarn

Configure vscode from settings sync

Another programs

Screen Shot 2021-04-10 at 20 52 59

Bunch of programs to elimu-dev (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment