Skip to content

Commit e85bc0e

Browse files
author
Carlos Cabanero
committed
Completions for vim, less and mosh1
1 parent 5560b72 commit e85bc0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Blink/Complete.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ struct Complete {
128128
"diff": "Compare files line by line.",
129129
"dig": "DNS lookup utility.",
130130
"du": "Disk usage",
131-
"ed": "Line-oriented text editor",
132131
"echo": "Write arguments to the standard output.",
133132
"egrep": "Search for a pattern using extended regex.", // https://www.computerhope.com/unix/uegrep.htm
134133
"env": "Set environment and execute command, or print environment.", // fish
@@ -142,6 +141,7 @@ struct Complete {
142141
"help": "Prints all commands. 🧐 ",
143142
"history": "Use -c option to clear history. 🙈 ",
144143
"host": "DNS lookup utility.", // fish
144+
"less": "Pager.",
145145
"link": "Make links.", // fish
146146
// "ln": "", // TODO
147147
"ls": "List files and directories",
@@ -184,10 +184,10 @@ struct Complete {
184184
"unlink": "Remove directory entries.", // fish
185185
// // @"unsetenv": @"", // TODO
186186
"uptime": "Show how long system has been running.", // fish
187+
"vim": "Vi IMproved, a programmer's text editor",
187188
"wc": "Words and lines counter.",
188189
"whoami": "Display effective user id.", // fish
189190
"whois": "Internet domain name and network number directory service.", // fish
190-
191191
"open": "open url of file (Experimental). 📤",
192192
"link-files": "link folders from Files.app (Experimental).",
193193
"build": "Access to Blink dev machines. ⚒ ",
@@ -201,10 +201,10 @@ struct Complete {
201201
private static func _completionKind(_ cmd: String) -> Kind {
202202
switch cmd {
203203
case "": return .command
204-
case "ssh", "ssh2", "mosh": return .blinkHost
204+
case "ssh", "ssh2", "mosh", "mosh1": return .blinkHost
205205
case "ping": return .host
206206
case "ls": return .directory
207-
case "file": return .file
207+
case "file", "vim": return .file
208208
case "geo": return .blinkGeo
209209
case "build": return .blinkBuild
210210
case "facecam": return .facecam

0 commit comments

Comments
 (0)