Fix starship de manière plus élégante

This commit is contained in:
Benjamin VAUDOUR 2022-03-20 19:08:53 +01:00
parent f68d1a89ce
commit 09c5196d12
1 changed files with 1 additions and 4 deletions

5
rc.elv
View File

@ -24,10 +24,7 @@ set edit:insert:binding[Ctrl-H] = $edit:histlist:start~
# Starship prompt: https://starship.rs/
#eval (starship init elvish)
{
use re
eval (re:replace 'except' 'catch' (starship init elvish --print-full-init | slurp))
}
eval (starship init elvish --print-full-init | sed 's/except/catch/' | slurp)
# Carapace completion: https://github.com/rsteube/carapace-bin
eval (carapace _carapace|slurp)