Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

setup-macos-shell

macOS + Homebrew setup for:

  • fish
  • ghostty
  • 0xProto Nerd Font
  • starship

What it does

  • installs missing packages
  • skips packages already installed
  • sets fish as default shell
  • adds starship to fish
  • sets Ghostty font to 0xProto Nerd Font Mono
  • makes backups before config edits
  • supports dry run
  • supports uninstall

Requirements

  • macOS
  • Homebrew
  • sudo access
  • chsh allowed for your user

File

  • setup-macos-shell.sh

Usage

Make script executable:

chmod +x setup-macos-shell.sh

Install:

./setup-macos-shell.sh

Dry run:

./setup-macos-shell.sh --dry-run

Uninstall:

./setup-macos-shell.sh --uninstall

Uninstall dry run:

./setup-macos-shell.sh --uninstall --dry-run

Changes made

The script may create or edit:

  • ~/.config/fish/config.fish
  • ~/.config/ghostty/config.ghostty
  • ~/.config/ghostty/config if it already exists
  • /etc/shells

Backups

Before editing a file, the script saves:

<file>.bak.YYYYMMDD-HHMMSS

Notes

  • uninstall switches shell back to /bin/zsh before removing fish
  • uninstall removes only lines added by this script
  • backups are kept
  • script does not remove fish from /etc/shells

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages