linux shell copy paste将〜0和1~符号添加到字符串中

时间:2017-12-18 10:28:14

标签: linux shell ubuntu-16.04 copy-paste

我正在运行Ubuntu 16.04。 最近,当通过剪贴板复制粘贴时,我会遇到以下奇怪的行为,例如:让我们说我想克隆一些存储库。所以,我复制以下字符串:

" https://github.com/tensorflow/tensorflow"

然后使用ctrl + shift + v在git clone之后将其粘贴到我的shell中。我希望:

$ git clone https://github.com/tensorflow/tensorflow

但相反,我看到了

$ git clone ~0https://github.com/tensorflow/tensorflow1~

这不会一直发生,我还没想到,是什么导致了这种令人讨厌的行为。其他人遇到这个并且有人发现如何摆脱它?

1 个答案:

答案 0 :(得分:-1)

尝试在此处找到解决方案:http://midnight-commander.org/ticket/3207 TL; DR看起来像Ubuntu包中的bug。 您可以复制用鼠标选择文本并按滚动按钮进行粘贴,以避免麻烦。