Skip to content

k-electron/terminal-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Ultimate macOS Terminal Setup

This script automates the setup of a complete, modern, and beautiful terminal environment on a fresh macOS installation. It installs a curated set of tools and configures them to work together seamlessly for maximum productivity.

The only prerequisite is that you have Homebrew installed. If not, the script will install it for you.

One-Step Installation

To run the setup, open your terminal and paste the following command:

/bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/k-electron/terminal-setup/main/terminal-setup.sh)"

What You Get

This script provides a complete terminal "glow up" by installing and configuring the following components:

Core Shell Experience

  • iTerm2: A powerful, modern replacement for the default Terminal.app.
  • Oh My Zsh: The industry-standard framework for managing your Zsh configuration.
  • Starship: A beautiful, fast, and infinitely customizable prompt. The script includes a custom "transient" prompt configuration.
  • Fira Code Nerd Font: A gorgeous monospaced font with programming ligatures and all the necessary icons for the prompt.

Zsh Plugins for Productivity

  • zsh-autosuggestions: Suggests commands as you type based on your history.
  • zsh-syntax-highlighting: Provides live syntax highlighting for the commands you're typing.
  • zsh-autocomplete: A powerful, IDE-style autocomplete for command flags, arguments, and paths.
  • OMZ Plugins: git, brew, docker, docker-compose, and command-not-found are also enabled by default.

Modern CLI Tool Replacements

  • eza: A modern, colorful replacement for ls (aliased to ls).
  • bat: A replacement for cat with syntax highlighting and Git integration (aliased to cat).
  • zoxide: A smarter cd that remembers your frequently used directories.
  • ripgrep (rg): An incredibly fast replacement for grep.
  • fzf: A blazing-fast fuzzy finder for files and command history.
  • btop: A beautiful and informative resource monitor.

Developer Power-ups

  • Atuin: Replaces your default shell history with a searchable, syncable, SQLite-powered database.
  • Delta: A beautiful diff viewer that makes git diff and other Git output much more readable.

Post-Installation Steps

After the script finishes, you must complete these final manual steps:

  1. Quit your terminal completely (Cmd+Q).
  2. Open the new iTerm2 application.
  3. In iTerm2, go to Preferences > Profiles > Text > Font and select FiraCode Nerd Font.

Your new terminal experience is now ready!

About

script to setup my macos terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages