A cross-shell themeable prompt heavily inspired by
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.
- install and setup Go
- run
go install github.com/Ak-Army/prompt-line@latest
- download a binary on the releases page
- add binary to
PATH
environment variable
- download themes from releases page
- unzip it
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
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
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