Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Inspired by from:
# Using "Approach 3" written in the website, but there are two changes.
# 1. Type one command and you are done. For current dir: $ .
# I'm pretty sure you don't want do this at $HOME, so handle with care!
# 2. Use ctags in directory. Do not use the Mac default. It sucks.
# Please do not forget to chmod +x
CMDNAME=`basename $0`
if [ $# -ne 1 ]; then
echo "Usage: $CMDNAME dir" 1>&2
exit 1
cd $1
for var in `find * -type d`
cd $var
/Applications/ *
cd - > /dev/null # cd yells when used with - option, so /dev/null it.
/Applications/ --file-scope=no -R

This comment has been minimized.

Copy link
Owner Author

@KainokiKaede KainokiKaede commented Dec 19, 2012

Oops, I wasn't logged in.

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