Starship macports

September 08, 2019

Starship is a customizable cross-shell prompt. It's written in Rust, and its performance is outstanding.

For Homebrew user, it can be installed by using command:

$ brew install starship

For MacPorts user, the story is little bit different. This post is going to talk about this issue.

$ mkdir .brew && curl -L | tar xz --strip 1 -C .brew
$ ~/.brew/bin/brew install openssl
$ export PKG_CONFIG_PATH="/Users/subosito/.brew/opt/openssl/lib/pkgconfig"

Finally use Cargo to install:

$ cargo install starship