Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| powershell_configuration [2022/04/07 12:04] – mgupton | powershell_configuration [2022/04/08 12:54] (current) – mgupton | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| </ | </ | ||
| - | Dot (.) source to reload $PROFILE | + | Dot (.) source to reload $PROFILE  | 
| <code powerhell> | <code powerhell> | ||
| . $profile | . $profile | ||
| + | </ | ||
| + | |||
| + | Get path to command history file | ||
| + | <code powershell> | ||
| + | (Get-PSReadlineOption).HistorySavePath | ||
| </ | </ | ||
| Line 65: | Line 70: | ||
| } | } | ||
| } | } | ||
| - | + | ||
| + | function hpp { | ||
| + | Start-Process notepad++.exe (Get-PSReadlineOption).HistorySavePath | ||
| + | } | ||
| function git-dump([Parameter(Mandatory=$true)][string]$commit, | function git-dump([Parameter(Mandatory=$true)][string]$commit, | ||
|     $temp_file=" |     $temp_file=" | ||