Permalink
Browse files

• use TM_FULLNAME instead of TM_USERNAME in all templates and remove …

…the setup of TM_USERNAME from the template script/helper

git-svn-id: http://svn.textmate.org/trunk/Bundles/HTML.tmbundle@8306 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent d1579a6 commit a7121110e9e9152d98096dd61455b20b72de282a @sorbits sorbits committed Oct 19, 2007
@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${TM_NEW_FILE_BASENAME}</title>
<meta name="generator" content="TextMate http://macromates.com/">
- <meta name="author" content="${TM_USERNAME}">
+ <meta name="author" content="${TM_FULLNAME}">
<!-- Date: ${TM_DATE} -->
</head>
<body>
@@ -5,7 +5,6 @@
<key>command</key>
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_DATE=`date +%Y-%m-%d` \
- TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
&lt; index.html &gt; "$TM_NEW_FILE"
fi</string>
@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${TM_NEW_FILE_BASENAME}</title>
<meta name="generator" content="TextMate http://macromates.com/">
- <meta name="author" content="${TM_USERNAME}">
+ <meta name="author" content="${TM_FULLNAME}">
<!-- Date: ${TM_DATE} -->
</head>
<body>
@@ -5,7 +5,6 @@
<key>command</key>
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_DATE=`date +%Y-%m-%d` \
- TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
&lt; index.html &gt; "$TM_NEW_FILE"
fi</string>

0 comments on commit a712111

Please sign in to comment.