Skip to content

Commit

Permalink
Completions for vim, less and mosh1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Cabanero committed Mar 25, 2024
1 parent 5560b72 commit e85bc0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Blink/Complete.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down Expand Up @@ -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. ⚒ ",
Expand All @@ -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
Expand Down

0 comments on commit e85bc0e

Please sign in to comment.