Permalink
Browse files

La till kommandona 'ls' och 'dir' för lite mer feeeeeling

  • Loading branch information...
1 parent 706b45d commit 7510b702b1186f56eda4c456ae497b22a90c13cd @karlwestin karlwestin committed Jan 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/tbd.js
View
4 js/tbd.js
@@ -85,7 +85,7 @@ $(function() {
newOutput(sponsors);
newTerminalHeading();
newLabel();
- } else if (command === "help") {
+ } else if (command === "help" || /ls\s*/.test(command) || /dir\s*/.test(command)) {
newOutput(help);
newTerminalHeading();
newLabel();
@@ -122,4 +122,4 @@ $(function() {
-});
+});

0 comments on commit 7510b70

Please sign in to comment.