dotfiles/dotfiles/pwsh
2022-10-17 17:34:30 +09:00
..
chezmoi_completion.ps1 add chezmoi completion 2022-09-20 02:10:08 +09:00
powershell_profile.ps1 add: pwsh: save my custom history 2022-10-17 17:34:30 +09:00
README.md update: pwsh: PSReadLine version & add CompletionPredictor 2022-10-09 20:48:33 +09:00

PowerShell PROFILE description

some notable features

Key-Bindings

  • F2 to toggle InlineView and ListView of predictions
  • tab completion like fish
  • Ctrl + D to exit
  • Ctrl + G to Invoke-FzfTabCompletion
  • Ctrl + t to select providers with fzf
  • Ctrl + r to fzf history

Aliases

  • ~, ..
  • epl = explorer.exe .
  • whereis = where.exe

Change Encodings Instantly

You can change PowerShell encodings instantly. Especially useful for piping into linux commands like less

  • Set-UTF8, Set-UTF16LE
  • Remove-EncodingSettings
  • Reset-EncodingSettings

ssh-agent

  • Invoke-SshAdd

$env:

  • $env:LESS

Auto Completions

  • scoop
  • chezmoi
  • git
  • winget
  • chocolatey