Ghostty

Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

[!NOTE] We are switching to Ghostty terminal from iterm2

The Ultimate Guide to Your Terminal Makeover

ghostty

Prerequisites

Fonts should be installed as described in Essentials section.

Install

Configuration

Zero Configuration Philosophy - Ghostty is designed to work out of the box with no configuration for most users.

Optionally you can customize Ghostty via config file at ~/.config/ghostty/config

  • Color Theme

  • Custom Keybindings

  • Fonts

My ~/.config/ghostty/config

Extensions

Prompt

We will be using starship for prompt.

You can further configure Prompt by editing ~/.config/starship.toml. We provide Preset starship.toml with some cool icons and kubecontext enabled.

Usage:

ls & ll

We will be replacing ls with eza Features: Colours, Grid view, Long view, Tree view, Git integration, Filtering and Icons Note: The icon characters must be present in the font you are using in your terminal

Usage:

We also added following alias to our alias file, which is sourced from ~/.zshrc

Shell Completions

We will be installing zsh-completions, zsh-autosuggestions and zsh-syntax-highlighting

Search previous used commands using Arrows

Arrows
Result

↑ ↓

History Search

^ i

Completion Search

βŒ₯ + ← β†’

Jump Word

⌘ + ← β†’

Jump line beginning / end

Add following to ~/.zshrc

Search Previous Used Commands using arrows. up and down arrows - history search

Reference

Last updated

Was this helpful?