Skip to content

Commit

Permalink
chore: remove random theme
Browse files Browse the repository at this point in the history
  • Loading branch information
m4tt72 committed Dec 26, 2023
1 parent 4c8e50e commit bc724f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/utils/bin/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const help = `Usage: theme [arg]
Args:
- ls: list all themes
- set: set a theme
- random: set a random theme
Example:
theme ls # to list all themes
Expand Down Expand Up @@ -33,12 +32,6 @@ export const theme = async (
return callback(selectedTheme);
}

case 'random': {
const randomTheme = Themes[Math.floor(Math.random() * Themes.length)];

return callback(randomTheme.name.toLowerCase());
}

default:
return help;
}
Expand Down

1 comment on commit bc724f5

@vercel
Copy link

@vercel vercel bot commented on bc724f5 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

terminal – ./

terminal-m4tt72.vercel.app
terminal-git-master-m4tt72.vercel.app
term.m4tt72.com

Please sign in to comment.