Apologies if this is a duplicate, but I'm (unsuccessfully) trying to edit the bash completion options for vim.
Specifically, when editing a LaTeX document, there are lots of supplementary files which I don't want to edit with vim. i.e. I only want to edit .tex files, not .aux, .pdf and other files that are generated when compiling a document.
I've played around with the complete command, but am not having much joy..
Why does the following command not remove .aux files from the list of generated file names?
$ complete -o default -X '^.*aux' vim
Aucun commentaire:
Enregistrer un commentaire