Skip to content

Instantly share code, notes, and snippets.

@dietrichm
Created March 17, 2020 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dietrichm/9e518549fd609173182ce36ac4726df2 to your computer and use it in GitHub Desktop.
Save dietrichm/9e518549fd609173182ce36ac4726df2 to your computer and use it in GitHub Desktop.
Ctags shell function hiding "ignoring null tag in" warnings in JavaScript files
ctags() {
command ctags "$@" 2> >(
grep -Ev "^ctags: Warning: ignoring null tag in .+\.js\(line: .+\)$"
)
}
@dietrichm
Copy link
Author

Copy this into your .bashrc/.zshrc/... and source that file to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment