Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes small Powershell' loader issues #273

Merged
merged 2 commits into from
Mar 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions vendor/profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $global:PsGetDestinationModulePath = $PSScriptRoot + "\..\vendor\psmodules"
Push-Location -Path ($PsGetDestinationModulePath)

# Load modules from current directory
Get-ChildItem -Directory | `
Foreach-Object{
Import-Module .\PsGet\PsGet
Get-ChildItem -Exclude "PsGet" -Directory -Name | Foreach-Object {
Import-Module .\$_\$_
}

Expand All @@ -16,8 +16,8 @@ Pop-Location
# Set up a Cmder prompt, adding the git prompt parts inside git repos
function global:prompt {
$realLASTEXITCODE = $LASTEXITCODE
$Host.UI.RawUI.ForegroundColor = "white"
Write-Host($pwd.ProviderPath) -NoNewLine -ForegroundColor "green"
$Host.UI.RawUI.ForegroundColor = "White"
Write-Host("`n" + $pwd.ProviderPath) -NoNewLine -ForegroundColor Green
if (Get-Module posh-git) {
Write-VcsStatus
}
Expand Down
88 changes: 0 additions & 88 deletions vendor/psmodules/PsGet/PsGet.psd1

This file was deleted.