# Support path pasting in terminal \(\#48222\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4b3c0cda73faa23556bafc5c4a05614e29b19c83)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4b3c0cda73faa23556bafc5c4a05614e29b19c83

Requested commit: 4b3c0cda73faa23556bafc5c4a05614e29b19c83

Commit: 4b3c0cda73faa23556bafc5c4a05614e29b19c83

Tree: 01291289e7d20c1b311017fb77eb23466b76496d

Author: George Waters

Committer: GitHub

## Message

```
Support path pasting in terminal (#48222)

This adds the functionality to support pasting the file path of an item
when the copied item supports it. This mirrors the behavior of
`Terminal.app` on macOS.

This only implements the functionality on macOS but could be extended to
other platforms.

I find this convenient when I'm using Finder to navigate around the file
system and I want to copy a directory or file path and put it in the
terminal. You can copy the item from Finder and paste it into the
terminal and it will write out the full path of the item, making it easy
to change directories or provide path parameters to commands.

Release Notes:

- Added path pasting functionality in terminal
```

## Parents

- [02af528c5a1009d063e5faaf827c645a321d4197](https://git.cafe/gitcafe/zed/commit/02af528c5a1009d063e5faaf827c645a321d4197?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4b3c0cda73faa23556bafc5c4a05614e29b19c83?format=markdown)
