dwmkerr / dwmkerr/effective-shell

"Delete"-Commands in "Navigating the Command Line" do not actually (only) delete

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
780
Forks
93
Avg merge
1d 7h
Merged PRs (30d)
3

Description

In the "Navigating the Command Line" section, there are a bunch of commands described as "deleting" things. Also in [website/content/docs/section1/1-navigating-the-command-line/images/command-line.png the image] commands are subdivided into "Move" and "Delete".

**The thing is, readline does not actually _delete_!** More accurately, does "not only" delete: it rather _kills_ (comparable to an—enhanced—cut command).

The short version is that, as a result of killing instead of merely deleting, you can later _yank_ the killed text back (comparable to paste). (The longer version is that there exists a _kill ring_ and that opens up a whole other can of worms. :-) But it's awesome! And worth mentioning! At the very least, "delete" is simply … too simplistic. ;-) )

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.