Permalink
Browse files

Avoid using aliases in prompt script

  • Loading branch information...
tomasr committed Nov 9, 2017
1 parent 95c4cf2 commit 0812f048bd8252b89b3992f30be42cc151eae087
Showing with 2 additions and 3 deletions.
  1. +2 −3 scripts/Set-Prompt.ps1
View
@@ -55,7 +55,7 @@ $promptLines = @(
@{
bg = [ConsoleColor]::DarkCyan;
fg = [ConsoleColor]::White;
text = { " $(Get-ShortenedPath (pwd).Path) " }
text = { " $(Get-ShortenedPath (Get-Location).Path) " }
}
),
# line 2 => admin indicator, command
@@ -76,5 +76,4 @@ function prompt {
Write-PromptLine $promptLines[$i]
}
return ' '
}
}

0 comments on commit 0812f04

Please sign in to comment.