From 6e1ce0b399ba857c73eb7b7a1628b9809245ee9f Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Sun, 1 Jan 2012 12:08:21 +0100 Subject: [PATCH] Snippet for @author that reads /etc/passwd. Not so useful on a Windows system but neat on a *nix one. --- snippets/java.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/java.snippets b/snippets/java.snippets index c3551d9..2715936 100644 --- a/snippets/java.snippets +++ b/snippets/java.snippets @@ -92,6 +92,8 @@ snippet tryf } snippet rst ResultSet ${1:rst}${2: = null}${3};${4} +snippet @au + @author `system("grep \`id -un\` /etc/passwd | cut -d \":\" -f5")` snippet mm @ManyToMany ${1}