diff --git a/autonomic/config.py b/autonomic/config.py index bb3bf6e..08c6334 100644 --- a/autonomic/config.py +++ b/autonomic/config.py @@ -1,12 +1,8 @@ """Tool configuration.""" -from getpass import getuser +from os.path import expanduser -# current user -WHOAMI = getuser() - -# home directory of the current user -HOME_DIR = "/home/{}".format(WHOAMI) +HOME_DIR = expanduser("~") # configuration directory for the toolbelt CONFIG_DIR = "{}/.autonomic".format(HOME_DIR)