Added additional file to initialize Rust applications.

This commit is contained in:
Heavy 2022-01-23 14:45:59 +01:00
parent 94a6252e3b
commit 81cd2c8791

View File

@ -0,0 +1,13 @@
# 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
}