Préparation à elvish 0.17 (2)

This commit is contained in:
Benjamin VAUDOUR 2021-10-13 20:46:34 +02:00
parent 08d0e16cff
commit ad5bd35cca
1 changed files with 7 additions and 7 deletions

14
rc.elv
View File

@ -3,22 +3,22 @@ set-env BAT_PAGER 'less -RF'
set-env EDITOR vim set-env EDITOR vim
set-env VIEW 'vim -R' set-env VIEW 'vim -R'
set-env CURRENT_SHELL 'elvish' 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 use moi/util/list
if (list:includes-not /usr/local/bin $paths) { 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 } set edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter }
edit:insert:binding[Ctrl-H] = $edit:histlist:start~ set edit:insert:binding[Ctrl-H] = $edit:histlist:start~
edit:prompt = { go-prompt } set edit:prompt = { go-prompt }
edit:rprompt = { nop } set edit:rprompt = { nop }
use moi/completion use moi/completion
use moi/alias use moi/alias