Skip to content

Instantly share code, notes, and snippets.

@PButcher
Last active January 19, 2022 12:53
Show Gist options
  • Save PButcher/173307c70caa951ceb91ca7f7df0e4c4 to your computer and use it in GitHub Desktop.
Save PButcher/173307c70caa951ceb91ca7f7df0e4c4 to your computer and use it in GitHub Desktop.
Pete's MacOS Setup

Pete's MacOS Setup

ZSH and Hyper

MacOS Monterey comes with ZSH and I use it with Hyper, an Electron-based terminal.

The terminal theme I use is called Material Shell and can be installed across all MacOS terminals with oh-my-zsh.

Install oh-my-zsh with:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

And install the Material Shell theme with:

curl -L -o ~/.oh-my-zsh/custom/themes/materialshell.zsh-theme https://raw.githubusercontent.com/carloscuesta/materialshell/master/materialshell.zsh

Add this line to your ~/.zshrc file: ZSH_THEME="materialshell" and restart all terminal windows.

To add this theme to Hyper, add hyper-materialshell to your list of Hyper plugins in ~/.hyper.js:

plugins: ['hyper-materialshell']

If you want new tabs or panes to open in the same directory as the current tab or pane, I use HyperCwd in which case you can add hypercwd to your plugins list in ~/.hyper.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment