mathiasbynens / mathiasbynens/dotfiles

How to remove HOME and END outputting "~" in the command line?

Open
#882 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
31.5k
Forks
8.4k
PR merge metrics
No merged PRs in 30d

Description

Originally on my CentOS VMs, the HOME and END characters move the cursor to the beginning and end of the text in the command prompt, respectively. After running the bootstrap, these buttons output the "**~**" (tilde) character. I'd like to remove this. However, I've searched in most files for comments including the "**~**" character and mentions of HOME and END. Most intuitively, I'd expect them in one of the ".inputrc", ".bash_profile", or ".aliases" files -- of which I don't see them. Can anyone give any tips?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the bootstrap and the mentioned .inputrc, .bash_profile, and .aliases files, then reproduce the HOME and END behavior in a CentOS VM. Trace which configuration changes make those keys output a tilde instead of moving the cursor; done means identifying the relevant setting and documenting or correcting its removal.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.