Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Fix wrong variable name in Set-Prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
farzadmf authored and JanDeDobbeleer committed Jul 30, 2019
1 parent 6553bc1 commit 65c57c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oh-my-posh.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Set-Prompt {
$folder = (Get-Item $location.Path).Name
$prompt += "$([char]27)]9;12$([char]7)"
$prompt += "$([char]27)]2;$($folder)$([char]7)"
if ($loc.Provider.Name -eq "FileSystem") {
if ($location.Provider.Name -eq "FileSystem") {
$prompt += "$([char]27)]9;9;`"$($location.Path)`"$([char]7)"
}
}
Expand Down

0 comments on commit 65c57c1

Please sign in to comment.