Answer the question
In order to leave comments, you need to log in
[Bash] Spell correction after
How to configure bash to fix typos in paths when pressing the <ab> key? This means the following:
$ cd /Tm<tab> -> cd /tmp/
shopt -s cdspell and
shopt -s dirspell help only after pressing the <Enter> key.
It definitely works at work, but I can’t reproduce it at home.
Just in case:
works on:
Ubuntu
$ bash -version
GNU bash, version 4.1.5(1)-release (i686-pc-linux-gnu)
Copyright © 2009 Free Software Foundation, Inc.
doesn't work (at least I don't know how to make it work)
Kubuntu
$ bash -version
GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)
Copyright © 2009 Free Software Foundation, Inc.
That is, it's hardly the version, most likely there are some settings somewhere.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question