dotfiles/dot_bashrc.d/executable_13.rust

14 lines
327 B
Plaintext

# Initialization of some Rust applications
# if available
# Starship
# https://starship.rs
# Should not be the primary prompt, but be activated if 'starinit' is called
function starinit() {
if starship -V > /dev/null 2>&1; then
eval "$(starship init bash)"
else
echo starship is not available
fi
}