From e85bc0e626338d8876ae394b165e8d74ed0f2cd3 Mon Sep 17 00:00:00 2001 From: Carlos Cabanero Date: Mon, 25 Mar 2024 18:45:51 -0400 Subject: [PATCH] Completions for vim, less and mosh1 --- Blink/Complete.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Blink/Complete.swift b/Blink/Complete.swift index f0868d896..e41235a27 100644 --- a/Blink/Complete.swift +++ b/Blink/Complete.swift @@ -128,7 +128,6 @@ struct Complete { "diff": "Compare files line by line.", "dig": "DNS lookup utility.", "du": "Disk usage", - "ed": "Line-oriented text editor", "echo": "Write arguments to the standard output.", "egrep": "Search for a pattern using extended regex.", // https://www.computerhope.com/unix/uegrep.htm "env": "Set environment and execute command, or print environment.", // fish @@ -142,6 +141,7 @@ struct Complete { "help": "Prints all commands. 🧐 ", "history": "Use -c option to clear history. 🙈 ", "host": "DNS lookup utility.", // fish + "less": "Pager.", "link": "Make links.", // fish // "ln": "", // TODO "ls": "List files and directories", @@ -184,10 +184,10 @@ struct Complete { "unlink": "Remove directory entries.", // fish // // @"unsetenv": @"", // TODO "uptime": "Show how long system has been running.", // fish + "vim": "Vi IMproved, a programmer's text editor", "wc": "Words and lines counter.", "whoami": "Display effective user id.", // fish "whois": "Internet domain name and network number directory service.", // fish - "open": "open url of file (Experimental). 📤", "link-files": "link folders from Files.app (Experimental).", "build": "Access to Blink dev machines. ⚒ ", @@ -201,10 +201,10 @@ struct Complete { private static func _completionKind(_ cmd: String) -> Kind { switch cmd { case "": return .command - case "ssh", "ssh2", "mosh": return .blinkHost + case "ssh", "ssh2", "mosh", "mosh1": return .blinkHost case "ping": return .host case "ls": return .directory - case "file": return .file + case "file", "vim": return .file case "geo": return .blinkGeo case "build": return .blinkBuild case "facecam": return .facecam