Skip to content

Instantly share code, notes, and snippets.

@sturmenta
Last active March 19, 2025 11:31
Show Gist options
  • 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
  • update OS
  • factory reset

rectangle
  • download
  • disable macOs tiling
  • launch on login
  • hide menu bar icon
brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
from appstore
  • pixelmator pro
  • gestimer
  • istat menu
    • import config from iCloud or config like this:
    Screen Shot 2021-04-10 at 20 52 59
mac settings
  • mouse - velocity 7/10
  • control center
    • show bluetooth in menu bar
    • always show sound in menu bar
    • do not show spotlight in menu bar
  • desktop & dock
    • dock
      • hide without animation defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
      • move to left
      • remove docker icons
      • auto hide
      • do not show recent apps
      • keep dock terminal
    • desktop & state manager
      • disable show items
      • click wallpaper to reveal desktop -> state manager (keep state manager disabled)
    • hot corners (button at the end) > bottom-right corner > blank (—)
finder settings
  • show hide folders & files defaults write com.apple.finder AppleShowAllFiles -bool YES && killall Finder

  • sturmenta folder to root

  • remove "recents" and "airdrop" from sidebar

  • show breadcrumb Finder > View > Show Path Bar

  • config

    • new finder windows show -> sturmenta
    • deactivate "open folders in tabs instead of new windows"
  • bg - copy picture to pictures and set as bg image

zsh terminal
  • sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    • configure brew
      •   echo '' >> ~/.zshrc
          echo '# homebrew config' >> ~/.zshrc
          echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
        
          # remember restart the terminal to update the changes
        
    • configure autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
      • run this to save in .zshrc file
        echo '' >> ~/.zshrc
        echo '# zshrc auto suggestions config' >> ~/.zshrc
        echo 'plugins=(zsh-autosuggestions)' >> ~/.zshrc
        echo 'source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
      
    • configure powerlevel10k theme
      • copy this raw file and run nano ~/.p10k.zsh and paste and save
      • run git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
      • run this to save in .zshrc file
        echo '' >> ~/.zshrc
        echo '# zshrc powerlevel10k theme config' >> ~/.zshrc
        echo 'themes=(powerlevel10k)' >> ~/.zshrc
        echo 'source ~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme' >> ~/.zshrc
        echo '# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.' >> ~/.zshrc
        echo '[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh' >> ~/.zshrc
      
    • terminal opacity, dark, blur setting
    • restart the terminal
git
  • git brew install git
    • run git config --global user.name "sturmenta" & git config --global user.email "[email protected]"
    • run mkdir ~/code; cd code
    • run git clone https://github.com/sturmenta/current
Zed rust editor
  • download
    • install the dark side extension

    • run this to open zed from terminal writing "zed" / "zed ."

      echo '' >> ~/.zshrc
      echo '# zed config' >> ~/.zshrc
      echo 'alias zed="open -a /Applications/Zed.app -n"' >> ~/.zshrc
    
      # remember restart the terminal to update the changes
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment