Added additional file to initialize Rust applications.
This commit is contained in:
parent
94a6252e3b
commit
81cd2c8791
13
dot_bashrc.d/executable_13.rust
Normal file
13
dot_bashrc.d/executable_13.rust
Normal 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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user