| external help file | schema |
|---|---|
PSFzf.psm1-help.xml |
2.0.0 |
Sets the available PSFzf options.
Set-PsFzfOptionAllows the user to set various PSFzf options, such as PSReadline chords and tab expansion.
Set PsFzf's history and file finder keyboard shortcuts.
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'This cmdlet does not support common parameters.
PSReadline keyboard chord shortcut to trigger file and directory selection
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePSReadline keyboard chord shortcut to trigger history selection
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables key bindings for git commands.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables tab expansion support
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fe aliases for the Invoke-FuzzyEdit function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the ff aliases for the Invoke-FuzzyFasd function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fh aliases for the Invoke-FuzzyHistory function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fkill aliases for the Invoke-FuzzyKillProcess function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fd aliases for the Invoke-FuzzySetLocation function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the cde aliases for the Set-LocationFuzzyEverything function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fs aliases for the Invoke-FuzzyScoop function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fz aliases for the Invoke-FuzzySetZLocation function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables the fgs aliases for the Invoke-FuzzyGitStatus function
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: Falseuses the fd command instead of the OS specific file and directory commands
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies a user supplied command that will be used in the command that is bound to the Alt-C command
# example command - use $Location with a different command:
$commandOverride = [ScriptBlock]{ param($Location) Write-Host $Location }
# pass your override to PSFzf:
Set-PsFzfOption -AltCCommand $commandOverrideType: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the delimiter character used to join multiple selected files when using the PSReadlineChordProvider (Ctrl+t by default).
# example - use space as delimiter instead of comma:
Set-PsFzfOption -PsReadlineHandlerProviderDelimiter ' '
# example - use semicolon as delimiter:
Set-PsFzfOption -PsReadlineHandlerProviderDelimiter ';'Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: ','
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the preview window behavior for tab completion. The format is 'initial_state|change_preview_window_options' where the first part sets the initial state of the preview window (e.g., 'hidden' or 'visible'), and the rest is passed to the change-preview-window command (typically bound to Ctrl+/).
# example - start with hidden preview, toggle between up, left, and hidden:
Set-PsFzfOption -TabCompletionPreviewWindow 'hidden|up|left|hidden'
# example - start with visible preview on the right:
Set-PsFzfOption -TabCompletionPreviewWindow 'right|up|down|hidden'
# default - start hidden, toggle between down, right, and right:hidden:
Set-PsFzfOption -TabCompletionPreviewWindow 'hidden|down|right|right:hidden'Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 'hidden|down|right|right:hidden'
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet does not generate any output.