Home

Awesome

searocket prompt

screenshot of using searocket

NOTE: screenshot uses nerd font with devicons, this is not required.

spaceship prompt is pretty good... but it was getting a bit sluggish for my liking. So I made this slimmed down version which does all the heavy lifting in D.

Build and install

ldc is required to build due to the use of some non standard complier flags.

The prompt can be built using

make
make install

You will need to source the generated searocket.zsh file from your .zshrc. By default /usr/share/searocket/searocket.zsh, see Build flags section for details.

echo ".  /usr/share/searcoket/searocket.szh" >> ${ZDOTDIR:-$HOME}/.zshrc"

Configuration

All configuration is done at compile time by enabling different compilation flags.

Features can be enabled by modifying the UTILS and INTEGRATIONS arrays in config.mk.

Enabling more features will cause the prompt to be slower, but this is not very perceptible.

supported features

source/config.d

See configOpts.md for the full list.

Build flags

Variabledefault
DESTDIR
PREFIX/usr
ZSH_FILE_LOCATION${PREFIX}/share/searocket

searocket will be installed to ${DESTDIR}${PREFIX}/bin/searocket.

searocket.zsh file will be installed to ${DESTDIR}${ZSH_FILE_LOCATION}/searocket.zsh.

License

Most of the code is written by me and licensed under the MIT license (see LICENSE file).

Regular expressions used for parsing git status are from the spaceship prompt project and are licensed under the MIT license (see spaceship prompt LICENSE.md).