isCompletionInstalled property
Returns true if the dcil_complete has been installed as a bash auto completer
Implementation
@override
bool get isCompletionInstalled {
var completeInstalled = false;
final startFile = pathToStartScript;
if (exists(startFile)) {
read(startFile).forEach((line) {
if (line.contains('dcli_complete')) {
completeInstalled = true;
}
});
}
return completeInstalled;
}