Made with love ❤️
This repository contains automated installation scripts for two use cases:
Complete setup for your main development machine with:
- Homebrew package manager
- iTerm2 terminal with Dracula theme
- Oh My Zsh framework with Powerlevel10k visual prompt
- Zsh plugins: zsh-autosuggestions, zsh-syntax-highlighting, zsh-completions
- Modern CLI tools: eza, fzf, direnv, atuin
- GPG/YubiKey: Full support with pinentry-mac and gpg-agent
- Python dev tools: devtools-claravnk (black, isort, flake8, bandit)
- Optimized aliases and shell configurations
Quick setup for remote Linux machines accessed via SSH from your macOS machine:
- Modern CLI tools: eza, atuin, fzf, direnv, neofetch
- Simple prompt: Colorful and efficient (no heavy frameworks)
- Python dev tools: devtools-claravnk (black, isort, flake8, bandit)
- Essential aliases: Optimized for productivity
- Minimal footprint: Fast shell startup (~50ms)
- No GPG/YubiKey setup: Operations forwarded from macOS client
git clone https://github.com/ClaraVnk/terminal.git && bash terminal/BASHRC_By_Loutre.shNote: After installation, restart your terminal or run source ~/.bashrc to apply changes.
git clone https://github.com/ClaraVnk/terminal.git && zsh terminal/ZSHRC_By_Loutre.shImportant for macOS users:
- The script will install iTerm2 first
- Open iTerm2 and run the script again to complete Oh My Zsh and Powerlevel10k setup
- Restart your terminal or run
source ~/.zshrcto apply changes - Run
p10k configureto customize your Powerlevel10k prompt
- eza: Modern replacement for
lswith colors and icons - atuin: Magical shell history with sync and search
- fzf: Fuzzy finder for command-line
- direnv: Environment switcher for shell
- gnupg: GNU Privacy Guard
- devtools-claravnk: Python development toolkit (black, isort, flake8, bandit)
- neofetch: System information tool
- jq: JSON processor
- bash-completion: Programmable completion for Bash
- iTerm2: Modern terminal emulator
- Oh My Zsh: Framework for managing Zsh configuration
- Powerlevel10k: Beautiful and fast Zsh theme
- pinentry-mac: GPG passphrase entry for macOS
- YubiKey support: Full GPG/SSH integration
After installation, you can launch or relaunch the configuration with:
p10k configureThe script downloads the Dracula theme automatically. To apply it:
- Open iTerm2 Preferences (⌘,)
- Go to Profiles > Colors > Color Presets > Import...
- Select the file:
~/.iterm2/themes/Dracula.itermcolors - Apply the Dracula preset
These scripts are designed to help you migrate your complete macOS development environment to a new machine.
Run the backup script to save your dotfiles, installed packages, SSH keys (optional), and Git config into a timestamped archive:
./backup.shThis will create an archive in your home directory, e.g. migration_backup_20230522_123456.tar.gz.
To restore on a new macOS machine:
./restore.sh path_to/migration_backup_20230522_123456.tar.gzThe restore script will extract the archive, restore dotfiles, reinstall packages (Homebrew, pip, npm), optionally restore SSH keys, and Git config.
Note: These migration scripts are primarily intended for macOS-to-macOS migrations. For Linux machines, simply run the Bash installation script on each new machine.
Contributions are welcome!
Feel free to open an issue or submit a pull request.
Don't forget to give a star ⭐️ if you find this repository useful!
MIT License © Loutre