Skip to content

Commit

Permalink
Merge pull request #273 from LeoColomb/master
Browse files Browse the repository at this point in the history
Fixes small Powershell' loader issues
  • Loading branch information
MartiUK committed Mar 18, 2015
2 parents 5dbb84d + dc834cc commit 021263d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 92 deletions.
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.

0 comments on commit 021263d

Please sign in to comment.