From ad5bd35cca3eafe272b9e01d4fd52f5ea51b0c8b Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Wed, 13 Oct 2021 20:46:34 +0200 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9paration=20=C3=A0=20elvish=200.17=20(2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc.elv | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rc.elv b/rc.elv index aa27a68..83d5027 100644 --- a/rc.elv +++ b/rc.elv @@ -3,22 +3,22 @@ set-env BAT_PAGER 'less -RF' set-env EDITOR vim set-env VIEW 'vim -R' set-env CURRENT_SHELL 'elvish' -paths = [$@paths /home/benjamin/bin /home/benjamin/Go/bin ] +set paths = [$@paths /home/benjamin/bin /home/benjamin/Go/bin ] { use moi/util/list if (list:includes-not /usr/local/bin $paths) { - paths = [ $@paths /usr/local/bin ] + set paths = [ $@paths /usr/local/bin ] } } -notify-bg-job-success = $false +set notify-bg-job-success = $false -edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter } -edit:insert:binding[Ctrl-H] = $edit:histlist:start~ +set edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter } +set edit:insert:binding[Ctrl-H] = $edit:histlist:start~ -edit:prompt = { go-prompt } -edit:rprompt = { nop } +set edit:prompt = { go-prompt } +set edit:rprompt = { nop } use moi/completion use moi/alias