mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 01:33:40 +01:00
11a23144ad
Closes #7569 Closes #10714
16 lines
345 B
Markdown
16 lines
345 B
Markdown
# 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.
|