jaspervdj / patat

Terminal-based presentations using Pandoc
GNU General Public License v2.0
2.37k stars 60 forks source link

bash completion cause troubles #126

Closed laoshaw closed 9 months ago

laoshaw commented 1 year ago

if I enter patat then hit TAB, it does not show any local files, instead it shows : patat - which is kind of useless, I guess this is from bash_completion? how can I make patat normally behaved, i.e. patat <TAB> will show a list of local files so I can pick one to present?

dpkg -L patat

/.
/usr
/usr/bin
/usr/bin/patat
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/patat  <-- this is the one that causes the trouble
/usr/share/doc
/usr/share/doc/patat
/usr/share/doc/patat/README.md.gz
/usr/share/doc/patat/changelog.Debian.gz
/usr/share/doc/patat/copyright
/usr/share/doc/patat/examples
/usr/share/doc/patat/examples/screenshot.png
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/patat
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/patat.1.gz
jaspervdj commented 9 months ago

This should be fixed in v0.9.2.0 onward (though I'm not sure when a debian package will be available for this).