Skip to content

Add copy to clipboard options for shell commands #678

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a4v2d4
Copy link

@a4v2d4 a4v2d4 commented Mar 25, 2025

  • Enhancement: Automatically add shell commands to system clipboard on execution when using sgpt --shell "<shell-cmd-prompt>"

  • Feature: Add "[C]opy" option to shell command prompt

Both are disabled if ENV var 'COPY_SHELL_CMD_TO_CLIPBOARD' is 'false'. Defaults to true.

- Enhancement: Automatically add shell commands to system clipboard on exection when using `sgpt --shell '<cmd-prompt>'
- Feature: Add [C]opy option to shell command prompt
@kth8
Copy link

kth8 commented Mar 29, 2025

I heard pyperclip is discontinued according to this project https://pypi.org/project/clipman

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.

2 participants