Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/wsl error #44

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Bugfix/wsl error #44

wants to merge 2 commits into from

Conversation

Ttayu
Copy link

@Ttayu Ttayu commented Jan 20, 2023

An error occurred when running PasteImg on WSL.
Also, is_clipboard_img was returning True when there is no images in the Clipboard.

=Get-Clipboard : The term '=Get-Clipboard' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ =Get-Clipboard -Format Image
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (=Get-Clipboard:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFound

Version

  • neovim: v0.9.0-dev
  • powershell: 5.1.19041.1682
  • WSL2: Ubuntu 22.04.1 LTS

This error is `The term '=Get-Clipboard' is not recognized as the name
of a cmdlet, function, script file, or operable program.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant