code: function equal(env, asg) {
  
      if (arguments.length === 1) {
        env = cwd();
        asg = arguments[0];
      }
  
      if (!isAbsolute(asg)) {
        asg = join(cwd(), asg);
      }
  
      if (!isAbsolute(env)) {
        env = join(cwd(), env);
      }
  
      var envParts = trimArray(env.split('/'));
      var asgParts = trimArray(asg.split('/'));
      var length = Math.max(envParts.length, asgParts.length);
      var diff = envParts.length - asgParts.length;
      var match = true;
  
      for (var i = 0; i < length; i += 1) {
        if ('**' === asgParts[i]) {
          if (diff--) asgParts.splice(i, 0, '**');
          continue;
        }
        if ('*' === asgParts[i]) continue;
        if (/^(\*\.)/.test(asgParts[i]) &&
          (extname(envParts[i]) === extname(asgParts[i]))) {
          continue;
        }
        if (envParts[i] !== asgParts[i]) {
          match = false;
        }
      }
  
      return match;
    }
docs: Is it equal to [enviroment path] and [assingment path]
  - If the [arguments path] is relative path, and then
  converted to an absolute path.
  @param {String} env
  @param {String} asg (contains wildcards[**|*])