Skip to content

Commit

Permalink
• update other uses of niutil/dscl to TM_FULLNAME
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/HTML.tmbundle@8309 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
sorbits committed Oct 19, 2007
1 parent a712111 commit 29e5f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/tminclude.rb
Expand Up @@ -245,7 +245,7 @@ def var_gmtime(format = "%c")
def var_username
# store the username into the variable stash so we don't have
# to do this again...
@global_vars['username'] = "#{%x{niutil -readprop / /users/#{ENV['USER']} realname}}".chomp
@global_vars['username'] = ENV['TM_FULLNAME']
end

def process_document(doc, vars)
Expand Down

0 comments on commit 29e5f53

Please sign in to comment.