Here is my command:
nnoremap <Leader>pwd :!pwd | tr -d '\n' | xclip<CR>
And I get error like this how to fix it? I havent found something useful to my issue
Error detected while processing BufWritePost Autocommands for "/home/li │
│zhe/.config/nvim/init.vim"..script /home/lizhe/.config/nvim/init.vim: │
│line 422: │
│E488: Trailing characters: -d '\n': tr -d '\n'
I try to escape my command but not work either like:
\-d \'\n\'