Re: [Ctags] Can't use .ctags file
Brought to you by:
dhiebert
|
From: Darren H. <dhi...@us...> - 2003-04-03 01:49:04
|
On Wed, 2 Apr 2003, Saar Machtinger wrote: > Just installed the new 5.5 ver. > I have created the ~/.ctags file with: > --append=yes > -f ~saarma/bin/vim61/ctags-5.5/tags First of all, it is not valid to use shell contructs that require shell expansion, because the contents of this file are never passed through the shell. The pathname "~saarma/..." is such a construct. The '~' character is expanded by the shell when encountered on a shell command line before it gets to ctags. Thus, ctags would report an error with this path if it was able to procede beyond the error below. > But when trying to run ctags, I get the error: > ctags: No files specified. Try "ctags --help". What command line are you using to run ctags? It appears that you have not supplied a list of one or more files for ctags to process. P.S.: You can verify ctags initialization (including the reading of the ~/.ctags file) by suppling -V as the first argument on the command line. -- Darren Hiebert http://DarrenHiebert.com http://ctags.sourceforge.net |