Skip to content

Commit

Permalink
Merge pull request #28 from abcarcol/patch-16
Browse files Browse the repository at this point in the history
Fixed wrong paths being generated for Git Bash profiles
  • Loading branch information
albertdb authored May 2, 2022
2 parents 68add73 + b346814 commit 28744ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ function UpdateGitBashProfile
Add-Content $script:bashProfilePath "# generated by rd-installer for Alias support in Git Bash"
Add-Content $script:bashProfilePath "alias docker=""nerdctl"""
Add-Content $script:bashProfilePath "alias docker-compose=""nerdctl compose"""
Add-Content $script:bashProfilePath "alias dockerw=""/c/Users/$(whoami)/AppData/Local/Programs/Rancher\ Desktop/resources/resources/win32/bin/docker.exe --context win"""
Add-Content $script:bashProfilePath "alias dockerw-compose=""/c/Users/$(whoami)/AppData/Local/Programs/Rancher\ Desktop/resources/resources/win32/bin/docker-compose.exe --context win"""
Add-Content $script:bashProfilePath "alias dockerw=""/c/Users/$env:UserName/AppData/Local/Programs/Rancher\ Desktop/resources/resources/win32/bin/docker.exe --context win"""
Add-Content $script:bashProfilePath "alias dockerw-compose=""/c/Users/$env:UserName/AppData/Local/Programs/Rancher\ Desktop/resources/resources/win32/bin/docker-compose.exe --context win"""
}
}

Expand Down

0 comments on commit 28744ea

Please sign in to comment.