0

Somehow something seems to have been changed with my Zsh configuration or Terminal settings under macOS Catalina (10.15.7). If I copy some text, say from a TextEdit window, the usual paste command and shortcut-key (⌘ CommandV) no longer paste that text onto the command line in Terminal.

How to fix this so it works as expected?

5
  • "The usual command/shortcut key" is vague. What command were you using previously?
    – Allan
    Nov 17, 2020 at 22:29
  • @Allan: Cmd-c for copy, Cmd-v for paste (without the hyphens, of course)
    – murray
    Nov 17, 2020 at 22:30
  • 1
    If you go into Terminal, then from the Menu Bar, select Edit, then Paste does it work? What key combination does it show?
    – Allan
    Nov 17, 2020 at 22:47
  • The problem arose from an error in my .profile, which is loaded by .zshrc. With .profile fixed, copy/paste into Terminal works normally.
    – murray
    Nov 18, 2020 at 1:25
  • It's helpful if you clarify what you're asking and then add an answer (don't "update" the question) with what you did to solve it. This way it will help others who run into this problem.
    – Allan
    Nov 18, 2020 at 2:20

1 Answer 1

-1

I discovered that the problem arose from an error in my .profile, which is loaded by .zshrc. With .profile fixed, copy/paste into Terminal works normally, whether with usual Cmd-C/Cmd-V keyboard cominations or Edit menu selections.

2
  • What exactly was the problem and how did you fix it?
    – nohillside
    Dec 18, 2020 at 21:05
  • @nohillside: Sorry, I don't recall exactly what the type was there now. May have been a simple matter of unmatched quotes, even.
    – murray
    Dec 19, 2020 at 16:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .