Commits

Carl Meyer committed fcf465a

mktags function instead of alias; works properly now

Comments (0)

Files changed (1)

 alias ipython="python -c 'import IPython; IPython.Shell.IPShell().mainloop()'"
 alias killpyc="find . -iname '*.pyc' -delete"
 alias killbak="find . -iname '*~' -delete"
-alias mktags="find `pwd` `(virtualenvwrapper_get_site_packages_dir)` -name '*.py' | etags -"
 
+mktags() {
+    PWD=`pwd`
+    SP=`virtualenvwrapper_get_site_packages_dir`
+    find $PWD $SP -name '*.py' | etags -
+}