Git Product home page Git Product logo

Comments (12)

 avatar commented on August 19, 2024 2

Confirm tab completion not working here also.

EDIT: Installing the latest version of PowerShell from here and using it instead of the Windows one fixed the issue for me.

from psfzf.

kelleyma49 avatar kelleyma49 commented on August 19, 2024 1

I see what is happening, but I'm not sure why.

The order of outputs from fzf is inconsistent in PowerShell 5. fzf is supposed to output the query first, then the selections. It does this in PowerShell 7 just fine, but not in 5.

from psfzf.

kelleyma49 avatar kelleyma49 commented on August 19, 2024

TabCompleteIssue

Can you give me more information? I can't see to recreate your issue. See attached gif.

from psfzf.

f0rdprefect avatar f0rdprefect commented on August 19, 2024

from psfzf.

kelleyma49 avatar kelleyma49 commented on August 19, 2024

When you get a chance, try running the following before tab completion:

$error.Clear()

Try the tab completion, then run the following after and post the output:

$error

from psfzf.

koalp avatar koalp commented on August 19, 2024

I have the same issue for and there is no $error.

What I’ve done :

$error.Clear()
$error.Cl<TAB>  # completion menu showing but nothing append after selection in fzf
$error # no output

from psfzf.

redcoreit avatar redcoreit commented on August 19, 2024

I'm experiencing this issue as well.
$error is empty.

Other information:
If I try to set shortcut for a command like Invoke-FuzzyGitStatus then it fails similarly, but it might be another issue.

Name             : ConsoleHost
Version          : 5.1.19041.1151
InstanceId       : 58407a44-9a4c-451d-a21c-338dc8c5723f
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : hu-HU
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     2.2.9      PSFzf                               {Enable-PsFzfAliases, Invoke-FuzzyEdit, Invoke-FuzzyFasd, Invoke-FuzzyGitStatus...}
Script     2.1.0      PSReadline                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler...}
Script     0.7.3      posh-git                            {Add-PoshGitToProfile, Add-SshKey, Enable-GitColors, Expand-GitCommand...}
Script     1.4.3      ZLocation                           {Get-ZLocation, Invoke-ZLocation, Pop-ZLocation, Remove-ZLocation...}

from psfzf.

belotn avatar belotn commented on August 19, 2024

I have 2 version of powershell here (5.1 and 7.2), the issue appears in 5.1 but not in 7.2.

from psfzf.

belotn avatar belotn commented on August 19, 2024

On powershell 5, $script:fzfOuput contains 2 value the selected FZF return and the queried path, on powershell 7 only the result...

image

from psfzf.

roachsinai avatar roachsinai commented on August 19, 2024

Same issue on powershell 5.

from psfzf.

roachsinai avatar roachsinai commented on August 19, 2024

@kelleyma49 thanks! It works. But seems it not work with soft link with fuzzyselectdirectory. I will open a new issue.

from psfzf.

roachsinai avatar roachsinai commented on August 19, 2024

@kelleyma49 thanks! It works. But seems it not work with soft link with fuzzyselectdirectory. I will open a new issue.

Soft link not work is my fault, sorry for that.

from psfzf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.