- Instalar o Homebrew
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
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
- No caminho
~/www/utils/
colocar a pasta do flutter e apontar no .zshrc