bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Show slash if a directory upon TAB


From: Dan Jacobson
Subject: Show slash if a directory upon TAB
Date: Fri, 11 Nov 2022 07:07:13 -0600

$ pdf<TAB>
pdf pdf2ps pdfcrack pdffonts pdfinfo pdfsig pdftocairo pdftoppm
pdftotext pdf2dsc pdfattach pdfdetach pdfimages pdfseparate pdftexi2dvi
pdftohtml pdftops pdfunite

What's this, a new command called "pdf". I must try it!

$ pdf
bash: pdf: command not found
$ ls -d pdf
pdf

Oh, all along it was one of my directories.

Well if I saw
$ pdf<TAB>
pdf/ pdf2ps pdfcrack pdffonts pdfinfo pdfsig pdftocairo pdftoppm

Then I would know it was a directory, instead of a command.

I see there is a
  mark-directories (On)
              If set to On, completed directory names have a slash appended.
but...

version 5.2.2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]