smartdrive/node_modules/shelljs/global.js
2016-06-18 00:24:31 +02:00

11 lines
295 B
JavaScript

var shell = require('./shell.js');
var common = require('./src/common');
for (var cmd in shell)
global[cmd] = shell[cmd];
var _to = require('./src/to');
String.prototype.to = common.wrap('to', _to);
var _toEnd = require('./src/toEnd');
String.prototype.toEnd = common.wrap('toEnd', _toEnd);