mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 10:23:44 +01:00
added autocomplete for scp
This commit is contained in:
@ -18,6 +18,7 @@ const commands = [
|
|||||||
"clear",
|
"clear",
|
||||||
"cls",
|
"cls",
|
||||||
"connect",
|
"connect",
|
||||||
|
"cp",
|
||||||
"download",
|
"download",
|
||||||
"expr",
|
"expr",
|
||||||
"free",
|
"free",
|
||||||
@ -239,6 +240,13 @@ export function determineAllPossibilitiesForTabCompletion(
|
|||||||
return allPos;
|
return allPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isCommand("cp") && index === 0) {
|
||||||
|
addAllScripts();
|
||||||
|
addAllTextFiles();
|
||||||
|
addAllDirectories();
|
||||||
|
return allPos;
|
||||||
|
}
|
||||||
|
|
||||||
if (isCommand("connect")) {
|
if (isCommand("connect")) {
|
||||||
// All network connections
|
// All network connections
|
||||||
for (let i = 0; i < currServ.serversOnNetwork.length; ++i) {
|
for (let i = 0; i < currServ.serversOnNetwork.length; ++i) {
|
||||||
|
Reference in New Issue
Block a user