Updated prof_init hook args

This commit is contained in:
James Booth
2016-04-13 00:14:31 +01:00
parent a8d64f9b21
commit 0110764b2d
14 changed files with 83 additions and 13 deletions

View File

@@ -10,11 +10,13 @@ result=bold_magenta
import prof
import getpass
def _cmd_whoami():
me = getpass.getuser()
prof.cons_show_themed("whoami", "result", None, me)
def prof_init(version, status):
def prof_init(version, status, account_name, fulljid):
synopsis = [ "/whoami" ]
description = "Calls the system whoami command"
args = []