code: func Homedir() string {
  	if hd := os.Getenv("GOPASS_HOMEDIR"); hd != "" {
  		return hd
  	}
  	hd, err := homedir.Dir()
  	if err != nil {
  		if debug {
  			fmt.Printf("[DEBUG] Failed to get homedir: %s\n", err)
  		}
  		return ""
  	}
  	return hd
  }
docs: // Homedir returns the users home dir or an empty string if the lookup fails