DEV Community

Discussion on: How to copy the path of the current directory to the clipboard (mac)

Collapse
codemadeclear profile image
Bruno

Thanks for the article! I tried this and it worked, but a newline was appended at the end if the path. Any idea how I could get rid of the newline? What could I pipe the output through?