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

encode64 plugin throwing invalid option error #12509

Closed
rosenclosed opened this issue Jun 16, 2024 · 1 comment
Closed

encode64 plugin throwing invalid option error #12509

rosenclosed opened this issue Jun 16, 2024 · 1 comment

Comments

@rosenclosed
Copy link

Describe the bug

When using the ef64 or encodefile64 commands from the encode64 plugin intead of recieving a txt file with the encoded string I recieve the error base64: invalid option -- 'o'

Steps to reproduce

  1. Enable plugin "encode64"
  2. create .png file with filename of "pfp_new.png"
  3. run command ef64 pfp_new.png or encodefile64 pfp_new.png
  4. recieve following error:
    base64: invalid option -- 'o' Try 'base64 --help' for more information. pfp_new.png's content encoded in base64 and saved as pfp_new.png.txt

Expected behavior

content of "pfp_new.png" should have been encoded in base64 and the base64 string should have been saved as "pfp_new.png.txt"

Screenshots and recordings

asciinema: https://asciinema.org/a/HqlfaQxZ7yVa7upZnRSNsCi4s

Screenshot:
image

OS / Linux distribution

Ubuntu 24.04

Zsh version

5.9

Terminal emulator

GNOME Terminal

If using WSL on Windows, which version of WSL

None

Additional context

Plugins:
plugins=(git zsh-autosuggestions zsh-syntax-highlighting emoji ubuntu history sudo vscode systemd encode64)

Theme:
Powerlevel10K

@carlosala
Copy link
Member

It should be fixed now. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants