ctags: +.exp
authorlace <>
Thu, 11 Jan 2007 18:26:04 +0000 (18:26 +0000)
committerlace <>
Thu, 11 Jan 2007 18:26:04 +0000 (18:26 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 608b6f2..d8b75a1 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -245,8 +245,9 @@ function ctags {(unset ctags;
                                                -o -name "*.java"  \
                                                -o -name "*.p[lm]" \
                                                -o -name "*.py" \
+                                               -o -name "*.exp" \
                                                ')' \
-                               |ctags --file-tags -L - "$@"
+                               |ctags --file-tags -L - --langmap=Tcl:+.exp "$@"
        fi; );}; export -f ctags
 function ctagsh { ctags "--c-types=+px"; }; export -f ctagsh
 function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );}; export -f cpan