PowerShell

PowerShell #


Set ExecutionPolicy to RemoteSigned #


Needs administrative permissions!

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm

Trust the PSGallery Repository #


Set-PSRepository -Name PSGallery -InstallationPolicy Trusted 

PSReadline #


Install-Module -Name PSReadLine -RequiredVersion 2.3.5

Fasdr #


Install-Module -Name Fasdr

PSFzf #


Installation #

Install-Module -Name PSFzf
Set-Location (Get-ChildItem . -Recurse | ? { $_.PSIsContainer } | Invoke-Fzf)

Interactively Select a File from the Current Directory or its Subdirectories #

Get-ChildItem . -Recurse -Attributes !Directory | Invoke-Fzf | % { nvim $_ }

Enable All Aliases #

Set-PsFzfOption -EnableAliasFuzzyEdit -EnableAliasFuzzyKillProcess -EnableAliasFuzzySetLocation -EnableAliasFuzzyScoop -EnableAliasFuzzySetEverything -EnableAliasFuzzyZLocation -EnableAliasFuzzyGitStatus

Enable Tab Expansion #

Set-PsFzfOption -TabExpansion