From 09c5196d124b4f5b06d6cde92f57dbdb7bfbbd4e Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Sun, 20 Mar 2022 19:08:53 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20starship=20de=20mani=C3=A8re=20plus=20?= =?UTF-8?q?=C3=A9l=C3=A9gante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc.elv | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rc.elv b/rc.elv index ed63dff..f02ef11 100644 --- a/rc.elv +++ b/rc.elv @@ -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)