powershell_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
powershell_configuration [2022/04/07 12:09] mguptonpowershell_configuration [2022/04/08 12:54] (current) mgupton
Line 16: Line 16:
 </code> </code>
  
-Dot (.) source to reload $PROFILE+Dot (.) source to reload $PROFILE into current sessions, just like Bash
 <code powerhell> <code powerhell>
 . $profile . $profile
Line 70: Line 70:
     }     }
 } }
- + 
 +function hpp { 
 + Start-Process notepad++.exe (Get-PSReadlineOption).HistorySavePath 
 +}  
 function git-dump([Parameter(Mandatory=$true)][string]$commit, [Parameter(Mandatory=$true)][string]$path) { function git-dump([Parameter(Mandatory=$true)][string]$commit, [Parameter(Mandatory=$true)][string]$path) {
     $temp_file="c:\tmp\git-dump.zip"; git archive -o $temp_file $commit; Expand-Archive -path $temp_file -destinationpath $path     $temp_file="c:\tmp\git-dump.zip"; git archive -o $temp_file $commit; Expand-Archive -path $temp_file -destinationpath $path
  • powershell_configuration.1649333374.txt.gz
  • Last modified: 2022/04/07 12:09
  • by mgupton