We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
To Reproduce Steps to reproduce the behavior:
(find-file "/sudo:root@localhost:/tmp/testing.txt")
Expected behavior The text is copied to the system clipboard.
** System Info (please complete the following information):**
Analysis While under tramp, tmux show-environment is executed as a different user.
tmux show-environment
I can fix it by setting the default-directory to a non-tramp one to get it works.
default-directory
Here is my fix:
(defun my/with-default-directory-local (orig-fun &rest args) (let ((default-directory user-emacs-directory)) (apply orig-fun args))) (advice-add 'clipetty--get-tmux-ssh-tty :around #'my/with-default-directory-local)
The text was updated successfully, but these errors were encountered:
spudlyo
No branches or pull requests
Describe the bug
To Reproduce
Steps to reproduce the behavior:
(find-file "/sudo:root@localhost:/tmp/testing.txt")
Expected behavior
The text is copied to the system clipboard.
** System Info (please complete the following information):**
Analysis
While under tramp,
tmux show-environment
is executed as a different user.I can fix it by setting the
default-directory
to a non-tramp one to get it works.Here is my fix:
The text was updated successfully, but these errors were encountered: