rename 'comp' to 'complete'
This commit is contained in:
1 parent
3deea69c4d
commit
04f1d68d1e
6 files changed
+8
-8
No files matched your search
@@ -455,12 +455,12 @@ func (e *callExpr) eval(app *app, args []string) {
|
||||
app.ui.cmdAccLeft = nil
|
||||
app.ui.cmdAccRight = nil
|
||||
app.ui.cmdPrefix = ""
|
||||
case "cmd-comp":
|
||||
case "cmd-complete":
|
||||
var matches []string
|
||||
if app.ui.cmdPrefix == ":" {
|
||||
matches, app.ui.cmdAccLeft = compCmd(app.ui.cmdAccLeft)
|
||||
matches, app.ui.cmdAccLeft = completeCmd(app.ui.cmdAccLeft)
|
||||
} else {
|
||||
matches, app.ui.cmdAccLeft = compShell(app.ui.cmdAccLeft)
|
||||
matches, app.ui.cmdAccLeft = completeShell(app.ui.cmdAccLeft)
|
||||
}
|
||||
app.ui.draw(app.nav)
|
||||
if len(matches) > 1 {
|
||||
|
||||
Reference in new issue
Block a user