From 2ef9748b0e1b41f7c127b83e69719b3700557bd9 Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Mon, 8 Nov 2021 07:40:10 +0100 Subject: [PATCH] =?UTF-8?q?Hopla=C2=A0!=20Visiblement,=20Elvish=20n?= =?UTF-8?q?=E2=80=99utilise=20pas=20de=20sous-shell,=20et=20toutes=20les?= =?UTF-8?q?=20op=C3=A9ration=20cd=20sont=20transf=C3=A9r=C3=A9e=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aliases/carapace.elv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aliases/carapace.elv b/aliases/carapace.elv index 61f8ba3..665458f 100644 --- a/aliases/carapace.elv +++ b/aliases/carapace.elv @@ -1,6 +1,7 @@ edit:add-var updatecarapace~ []{ - var wd = $E:HOME/Documents/OtherGo/github.com/rsteube/carapace-bin - var bd = $E:HOME/Go/bin + var cur = (pwd) + var wd = $E:HOME/Documents/OtherGo/github.com/rsteube/carapace-bin + var bd = $E:HOME/Go/bin cd $wd git pull cd cmd/carapace @@ -9,4 +10,5 @@ edit:add-var updatecarapace~ []{ if (bool ?(test -f carapace)) { mv -f carapace $bd } + cd $cur }