Skip to content

Instantly share code, notes, and snippets.

@sturmenta
Last active August 31, 2023 21:53
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturmenta/cd5332bf9d95fd5a4f23c16a98fc05e4 to your computer and use it in GitHub Desktop.
Save sturmenta/cd5332bf9d95fd5a4f23c16a98fc05e4 to your computer and use it in GitHub Desktop.
mac m1- start configuration
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
  1. 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

remember restart the terminal

  • install brew (remember follow the brew instructions after install - execute 2 lines to add brew to path)

  • install nvm

nvm install node
  • install git
brew 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
# url -> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-personal-access-token-classic
sudo npm i -g yarn

Another programs

Screen Shot 2021-04-10 at 20 52 59

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