Skip to content

Commit 4cb541e

Browse files
authored
Merge pull request #92 from codecrafters-io/arpan/cc-1739-implement-the-shell-history-extension
Rename the last stage
2 parents 58e620f + 88b72a5 commit 4cb541e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

course-definition.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,6 @@ stages:
13011301
name: "The history builtin"
13021302
difficulty: easy
13031303
description_md: |-
1304-
13051304
In this stage, you'll add support for [history](https://www.gnu.org/software/bash/manual/html_node/Bash-History-Builtins.html#index-history) as a shell builtin.
13061305
13071306
### The history builtin
@@ -1485,7 +1484,7 @@ stages:
14851484
14861485
- slug: "dm2"
14871486
primary_extension_slug: "history"
1488-
name: "Command Execution after Arrow Navigation"
1487+
name: "Executing commands from history"
14891488
difficulty: medium
14901489
description_md: |-
14911490
In this stage, you'll implement support for being able to press enter to execute a command recalled using UP-DOWN arrows.
@@ -1498,7 +1497,7 @@ stages:
14981497
./your_program.sh
14991498
```
15001499
1501-
It will then send multiple commands to your shell, followed by the up and then down arrow keys to recall the history:
1500+
It will then send multiple commands to your shell, followed by the up and then down arrow keys to recall the history and then press enter to execute the command:
15021501
15031502
```bash
15041503
$ echo hello
@@ -1516,7 +1515,7 @@ stages:
15161515
$
15171516
```
15181517
1519-
The tester will execute some commands and then press the up and then down arrow keys to recall the history and then press enter to execute the command arrived.
1518+
The tester will expect the command to be executed when the enter key is pressed.
15201519
15211520
marketing_md: |-
15221521
In this stage, you'll implement support for being able to press enter to execute a command recalled using UP-DOWN arrows.

0 commit comments

Comments
 (0)