Last active
October 18, 2024 02:54
-
-
Save luizomf/1fe6c67f307fc1df19e58f224134dc8f to your computer and use it in GitHub Desktop.
Ambiente de desenvolvimento Python no Ubuntu - Com VS Code, Google Chrome, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e spaceship prompt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Executar comandos a seguir para atualizar os pacotes | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Só o Python | |
sudo apt install python3.10-full python3.10-dev -y | |
# Instalar pacotes a seguir | |
sudo apt install git curl build-essential dkms perl wget -y | |
sudo apt install gcc make default-libmysqlclient-dev libssl-dev -y | |
sudo apt install -y zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm \ | |
libncurses5-dev libncursesw5-dev \ | |
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git | |
# Baixar e instalar VS Code: https://code.visualstudio.com/download | |
# Baixar e instalar Google Chrome: https://www.google.com/intl/pt-BR/chrome/ | |
# Abaixo tudo é opcional | |
# Instalar e configurar ZSH | |
sudo apt install zsh -y | |
chsh -s /bin/zsh | |
zsh | |
# Instalar Oh-my-zsh! -> https://ohmyz.sh/ | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Instalar Spaceship Prompt | |
# https://github.com/spaceship-prompt/spaceship-prompt | |
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 | |
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | |
# Mudar ~/.zshrc -> ZSH_THEME="spaceship" | |
# Instalar Zsh Autosuggestions | |
# https://github.com/zsh-users/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# Instalar Zsh Syntax Highlighting | |
# https://github.com/zsh-users/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# Mudar plugins | |
# plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
# Font optional (https://github.com/pdf/ubuntu-mono-powerline-ttf) | |
mkdir -p ~/.fonts | |
git clone https://github.com/pdf/ubuntu-mono-powerline-ttf.git ~/.fonts/ubuntu-mono-powerline-ttf | |
fc-cache -vf | |
# REBOOT!!!!!!!!!!!!!!!!!!!!! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
passando para dizer para o meu eu do futuro que é graças a min que ele será rico,