Skip to content

Commit

Permalink
fix alias
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbiro authored Mar 10, 2023
1 parent cdcb2d3 commit 49d2b7c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ function Add-Path {

Add-Path -Directory $HOME\src\winbin
Add-Path -Directory $HOME\src\binexe
Set-Alias less C:\Program` Files\Git\usr\bin\less.exe
Set-Alias vim C:\Program` Files\Git\usr\bin\vim.exe
#Set-Alias less "$env:ProgramFiles\Git\usr\bin\less.exe"
Set-Alias less "$ENV:LOCALAPPDATA\Programs\Git\usr\bin\less.exe"
#Set-Alias vim "$env:ProgramFiles\Git\usr\bin\vim.exe"
Set-Alias vim "$ENV:LOCALAPPDATA\Programs\Git\usr\bin\vim.exe"
#Set-Alias python3-utf8 python3` -X` utf8
## (Get-Command Prompt).ScriptBlock
function prompt {
Expand Down Expand Up @@ -134,4 +136,4 @@ function uname-a {
# | Where-Object { $_ -like "${textToComplete}*" } `
# | ForEach-Object { [CompletionResult]::new((&$generateCompletionText($_)), $_, [CompletionResultType]::ParameterValue, $_) }
# }
# }
# }

0 comments on commit 49d2b7c

Please sign in to comment.