Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ while letting you:
git clone --recurse-submodules https://github.com/dickymoore/repocopy.git
cd repocopy

# 2. Add rpcp to your PATH (current session)
$env:PATH += ';' + (Get-Location)
# 2. Add rpcp to your PATH
$env:PATH += ';' + (Get-Location) # (current session)

if ($([Environment]::GetEnvironmentVariable('PATH','User')) -split ';' -notcontains $((Get-Location).Path)) {[Environment]::SetEnvironmentVariable('PATH',"$([Environment]::GetEnvironmentVariable('PATH','User'));$((Get-Location).Path)",'User')} # (future sessions)

# 3. Copy the *current* folder (default)
rpcp
Expand Down