mccutchen / macos-terminal-selenized

Use the Selenized color palette with macOS's built-in Terminal.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macos-terminal-selenized

This repo is an attempt to make it a bit easier to use Jan Warchol's excellent Selenized color palette with macOS's built-in Terminal.app.

It provides:

  • A set of installable palettes for the macOS color picker
  • An opinionated Terminal.app profile that uses the Selenized color palette

I'm honestly not sure if this will be useful to anyone besides myself! It's awfully frustrating how difficult macOS makes it to export some of these configurations in useful, reusable formats.

Installation

  1. Download or clone this repo:

    git clone https://github.com/mccutchen/macos-terminal-selenized.git
  2. Copy color palettes into place:

    cp macos-terminal-selenized/*.clr ~/Library/Colors
  3. Install the terminal profile:

    open macos-terminal-selenized/Selenized\ Light.terminal

Notes

  • I only care about the Selenized Light theme, so that's all I have here.

  • The palettes here were assembled manually in the macOS color picker by copy/pasting color values from these tables, and then copied from ~/Library/Colors into this repo.

  • I'm not sure which color space should be used with Terminal.app, so there's a palette for both sRGB and AppleRGB. The Selenized project just provides this cryptic warning w/r/t choosing the right colors for Terminal.app:

    Remember to use coordinates from correct color space.

  • The included terminal profile was set up according to the mappings specified in the manual installation instructions, and includes these additional tweaks according to my own preferences:

    • Font: 12pt Menlo
    • Window size: 130x30
    • ^← and ^→ are remapped to \033b and \033f, respectively

Here be dragons?

The Selenized project warns against using Terminal.app and recommends iTerm2 instead:

Using Selenized with OS X default terminal is problematic. That's because Terminal.app has a misfeature: it will modify the colors you set in preferences according to its own liking, and you cannot disable this behaviour.

Therefore I strongly recommend that Mac users switch to iTerm, which seems to be a much better terminal emulator anyway. You can find Selenized color palette for iTerm here.

About

Use the Selenized color palette with macOS's built-in Terminal.app

License:MIT License