This topic created in 4594 days ago, the information mentioned may be changed or developed.
今天中午搞了一下自动copy terminal 当前路径到剪贴板的命令.
然后到.zshrc 上加了这两行 应该是一行就行了 我编辑过下面类似代码 最后不知道怎么的就变成
只要我输入:getpath
就会补全成为下面这样:
alias getpath='pwd | tr -d "\r\n" | pbcopy'
alias getpath='echo -n $PWD|pbcopy|echo "current path copied "
无论我在终端下,还是在网页地址栏,还是在其它任意可输入的地方!!!!
疯了!
我把.zsh_history .zshrc 清空了
重启了
it doesn't work!!!!
不知道在哪配置的,怎么造成的
求救各位大神!
2 replies 1970-01-01 08:00:00 +08:00  | | 1 windylcx Sep 28, 2013 finally,i find the problem. rt |