Skip to content

Commit

Permalink
add new commands to tab in terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
boshyxd committed Jan 29, 2025
1 parent 07e59de commit eb62195
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/app/resources/resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,30 @@ const Resources = () => {
"links",
"courses",
"projects",
"events",
"team",
"theme",
"ascii",
"matrix",
"coffee",
"quote",
"stats",
"game",
"hack",
"weather",
"shortcuts",
"shutdown",
"join",
"contact",
"contribute",
"event",
"rsvp",
"project",
];

const input = currentInput.toLowerCase();
const matchingCommands = availableCommands.filter((cmd) =>
cmd.startsWith(currentInput.toLowerCase())
cmd.startsWith(input)
);

if (matchingCommands.length === 1) {
Expand Down

0 comments on commit eb62195

Please sign in to comment.