Skip to content
Luiz Amadeu

/setup

Setup

The environment I code in: system, terminal and editor. Everything comes from my public gists, each with its last-updated date.

/System

my-ambient-dev.sh · Jun 20, 2023

I run Linux day to day. I keep a script that gets a fresh machine ready to code: it updates packages, installs languages and build tools, then sets up the terminal.

Base
Debian/Ubuntu (apt)
Languages
Python 3.10, Node.js LTS
Tools
Git, curl, build-essential, Yarn
Apps
VS Code, Google Chrome
See the full gist
sudo apt update -y && sudo apt upgrade -y

# Python e ferramentas de compilação
sudo apt install python3.10-full python3.10-dev -y
sudo apt install git curl build-essential dkms perl wget -y

# Node.js LTS
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs

/Terminal

.zshrc · Jul 24, 2023

Zsh with Oh My Zsh and the Spaceship prompt. Two plugins make the biggest difference: command suggestions from history and syntax highlighting as I type.

Shell
Zsh + Oh My Zsh
Prompt
Spaceship
Plugins
git, zsh-autosuggestions, zsh-syntax-highlighting
Version managers
nvm (Node), pyenv (Python)
Font
Ubuntu Mono Powerline
See the full gist
# ~/.zshrc
ZSH_THEME="spaceship"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

# instalação dos plugins
git clone https://github.com/zsh-users/zsh-autosuggestions \
  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \
  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

/Editor

settings.json · Jan 23, 2024

VS Code with the Catppuccin Mocha theme and JetBrains Mono. I keep the interface lean: no minimap, no breadcrumbs and a hidden status bar. ESLint fixes what it can on save.

Theme
Catppuccin Mocha
Icons
Catppuccin Mocha, Fluent Icons
Font
JetBrains Mono 15px, line-height 1.8
Integrated terminal
JetBrainsMono Nerd Font 14px
Indentation
2
See the full gist
{
  "workbench.colorTheme": "Catppuccin Mocha",
  "workbench.iconTheme": "catppuccin-mocha",
  "workbench.productIconTheme": "fluent-icons",
  "editor.fontFamily": "JetBrains Mono",
  "editor.fontSize": 15,
  "editor.lineHeight": 1.8,
  "editor.fontLigatures": true,
  "editor.tabSize": 2,
  "editor.rulers": [80, 120],
  "editor.minimap.enabled": false,
  "breadcrumbs.enabled": false,
  "workbench.statusBar.visible": false,
  "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }
}

/Other gists

all on GitHub →