tkellogg / Jump-Location

Powershell `cd` that reads your mind
MIT License
467 stars 26 forks source link

Jumpstat should not use Console.WriteLine #36

Closed vors closed 9 years ago

vors commented 9 years ago

Call to jumpstat should not output anything to console by default. Consider replace by -Verbose output

Here is sample, where I call jumpstat from $profile to display statistic: image

"Number of records: 132" is pretty confusing message, when you don't call jumpstat from interactive session.

cc @LCHarold

vors commented 9 years ago

Snippet from my $profile:

Import-Module $modules\Jump-Location\Jump.Location.psd1
# Show information about loaded location database.
$recordsCount = (jumpstat | measure).Count
Write-Host -Fore Green "`n[Jump-location] Database contains $recordsCount records.`n"
vors commented 9 years ago

Fixed in #43