Prompt-line
A cross-shell themeable prompt heavily inspired by
Installation
Recommanded
Prompt-line was designed to use Nerd Fonts. Nerd Fonts are popular fonts that are patched to include icons. We recommend Meslo LGM NF, but any Nerd Font should be compatible with the standard themes.
From source
- install and setup Go
- run
go install github.com/Ak-Army/prompt-line@latest
From pre-compiled binary
- download a binary on the releases page
- add binary to
PATH
environment variable
Configuration
Themes
- download themes from releases page
- unzip it
BASH
Add the following to .bashrc
or .profile
.
eval "$(~/prompt-line init -shell=bash -config=${HOME}/theme/default.toml)"
Once added, reload your profile or bashrc for the changes to take effect.
source ~/.profile
source ~/.bashrc
ZSH
Add the following to .zshrc
.
eval "$(~/prompt-line init -shell=zsh -config=${HOME}/theme/default.toml)"
Once added, reload your config for the changes to take effect.
source ~/.zshrc
FISH
Add the following to ~/.config/fish/config.fish
.
~/prompt-line init -shell fish -config ${HOME}/theme/default.toml) |source
Once added, reload your config for the changes to take effect.
. ~/.config/fish/config.fish