Strange cygwin shell pasting issue

1

I'm running cygwin on Windows 7 and am seeing something really strange. In the cygwin bash shell, any command I run is run with the current copy of the Windows clipboard immediately appended.

For example, if I just copied a Windows path (e.g. c:\Users\foogit) to paste somewhere else, then opened a cygwin prompt and typed 'ls', it would try to run: lsC:Usersfoogit

which would, of course, cause problems.

I can work around it for now by always ending a command with a semicolon, so it tries to do that second part as its own command, but it's been rather frustrating. Any ideas?

DukeBrymin

Posted 2017-05-30T19:21:33.310

Reputation: 48

1Maybe : (echo; echo "export TERM=cygwin") >> ~/.bash_profile – Wiffzack – 2017-05-30T19:27:58.517

Except now it's back.. :( – DukeBrymin – 2017-06-12T17:27:02.093

(echo; echo "export TERM=cygwin") >> ~/.bashrc – Wiffzack – 2017-06-12T17:58:32.560

No answers