summaryrefslogtreecommitdiff
path: root/plugins/copypath/README.md
blob: 1e5a463a696453b34a6ff28548ccf427a5bb5112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# copypath plugin

Copies the path of given directory or file to the system clipboard.

To use it, add `copypath` to the plugins array in your zshrc file:

```zsh
plugins=(... copypath)
```

## Usage

- `copypath`: copies the absolute path of the current directory.

- `copypath <file_or_directory>`: copies the absolute path of the given file.