Git Product home page Git Product logo

init-mac's Introduction

Configuração mac

  1. Instalar o Homebrew

Lista de pacotes bases

brew install zsh
instalar o oh-my-zsh
brew install --cask raycast
  • Dentro do raycast instalar via o site https://www.raycast.com/store o plugin do brew


brew install git

brew install --cask firefox

brew install --cask fig

brew install --cask unnaturalscrollwheels

brew install xcodes

brew install --cask visual-studio-code

brew install --cask android-studio

brew install --cask 1clipboard

brew install nvm

brew tap leoafarias/fvm
brew install fvm

instalar pela loja da apple o flutter sidekick para versionamento do flutter

instalar autosuggesions e zsh-syntax-highlighting https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df

Configurar zsh

SPACESHIP_PROMPT_ORDER=(
  user          # Username section
  dir           # Current directory section
  host          # Hostname section
  node          # Node version
  git           # Git section (git_branch + git_status)
  hg            # Mercurial section (hg_branch  + hg_status)
  exec_time     # Execution time
  line_sep      # Line break
  jobs          # Background jobs indicator
  exit_code     # Exit code section
  char          # Prompt character
)
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL=""
SPACESHIP_CHAR_SUFFIX=" "

ZSH_THEME="spaceship"

plugins=(git zsh-syntax-highlighting zsh-autosuggestions)

source $ZSH/oh-my-zsh.sh

alias lsort="du -sh * | sort -h"

# Update the PATH to prioritize Java 11 over Java 17
# export PATH="/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin:$PATH"

# FLUTTER
export PATH="$HOME/www/utils/flutter/bin:$PATH"

# Alias para trocar as versoes do node na maquina
alias node18="nvm alias default 18.20.3 && nvm use default"
alias node20="nvm alias default 20.15.0 && nvm use default"
alias node16="nvm alias default 16.20.2 && nvm use default"


#Exports de java exemplo

# JAVA 17
export JAVA_HOME=/Users/johnnyblasiusseubert/Library/Java/JavaVirtualMachines/corretto-17.0.11/Contents/Home
# JAVA 11
#export JAVA_HOME=/opt/homebrew/Cellar/openjdk@11/11.0.23
export PATH=$JAVA_HOME/bin:$PATH

#NVM
export NVM_DIR="$HOME/.nvm"
. $(brew --prefix nvm)/nvm.sh

Configurar flutter

  • No caminho ~/www/utils/ colocar a pasta do flutter e apontar no .zshrc

init-mac's People

Contributors

johnnyseubertpulsati avatar

Watchers

Johnny Blasius Seubert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.