A simple bash prompt.
Features • Install • Config • Dependencies • License
- Configuration file that's easy to set up!
Important
Raket has currently only been tested on MacOS.
Install binary using cargo:
cargo install raketAdd the following lines to your .bashrc:
_raket() {
local last_status=$?
PS1="$(raket --status="$last_status")"
}
PROMPT_COMMAND=_raketLaunch Raket for the first time to generate a default config file:
~/.config/raket/config
# === icons ===
ico_entry_success =
ico_entry_failed =
# === colors ===
col_entry_success = #aab4c0
col_entry_failed = #DF6C74
col_main = #aab4c0
col_git_branch = #99C379
col_git_status = #DF6C74
col_cargo_env = #D9A281
# === settings ===
# add space in between each command
set_space = true
# if true, the prompt input will be below. if false, on the same line
set_prompt_newline = true
set_show_git_branch = true
set_show_git_status = true
set_show_cargo_env = true
This project is licensed under the MIT License.
