Complétion – on privilégie quand même ma complétion à moi

This commit is contained in:
Benjamin VAUDOUR 2021-11-06 10:46:44 +01:00
parent b2480988b3
commit 80a9f5957a
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
#use github.com/zzamboni/elvish-completions/builtins
use github.com/zzamboni/elvish-completions/cd
use github.com/zzamboni/elvish-completions/git
set git:git-command = hub
set git:git-completions[checkout] = [ { git:MODIFIED; git:BRANCHES &all } ... ]
git:init
#use github.com/zzamboni/elvish-completions/cd
#use github.com/zzamboni/elvish-completions/git
#set git:git-command = hub
#set git:git-completions[checkout] = [ { git:MODIFIED; git:BRANCHES &all } ... ]
#git:init
#use github.com/zzamboni/elvish-completions/ssh
use github.com/xiaq/edit.elv/compl/go
#use github.com/xiaq/edit.elv/compl/go
use ./completion/arc
use ./completion/archiver
@ -15,5 +15,5 @@ use ./completion/kcp
use ./completion/mpv
use ./completion/pacman
use ./completion/ssh
use ./completion/sudo
#use ./completion/sudo
use ./completion/use

6
rc.elv
View File

@ -20,13 +20,13 @@ set edit:insert:binding[Ctrl-H] = $edit:histlist:start~
set edit:prompt = { go-prompt }
set edit:rprompt = { nop }
# Carapace completion: https://github.com/rsteube/carapace-bin
eval (carapace _carapace|slurp)
use moi/completion
use moi/alias
use moi/util/common
# Carapace completion: https://github.com/rsteube/carapace-bin
eval (carapace _carapace|slurp)
{
use ./aliases/get-uid uid
if (not (uid:-is-root)) {