The Computer Oracle

bash: Is there a way to use tab completion through out CDPATH?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping

--

Chapters
00:00 Bash: Is There A Way To Use Tab Completion Through Out Cdpath?
00:21 Accepted Answer Score 14
00:35 Thank you

--

Full question
https://superuser.com/questions/216803/b...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #bash

#avk47



ACCEPTED ANSWER

Score 14


You should install and enable bash-completion — it defines a _cd function and sets it as the completer for the cd command, which overrides the default completion and includes $CDPATH.