-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathfullname.node.txt
20 lines (16 loc) · 1.1 KB
/
fullname.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
┏━━━━━━━━━━━━━━┓
┃ FULLNAME ┃
┗━━━━━━━━━━━━━━┛
VERSION ==> #5.0.0
FULLNAME()->PROMISE_STR #Returns real name of current user (in priority):
# - ENVVAR GIT_AUTHOR_NAME
# - ENVVAR GIT_COMITTER_NAME
# - ENVVAR HGUSER (Mercurial)
# - ENVVAR C9_USER (Cloud9)
# - npm CONF.init-author-name
# - /etc/passwd (Unix) or id -P (Mac)
# - osascript -e "long user name of (system info)" (Mac)
# - getent passwd $(whoami) (Linux)
# - git config --global user.name
# - wmic useraccount where name="%username%" get fullname (Windows)
fullname #CLI (2.0.0)