mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-07 16:00:41 +01:00
feat(copypath): add plugin to copy file paths to clipboard (#7569)
Closes #7569 Closes #10714
This commit is contained in:
15
plugins/copypath/README.md
Normal file
15
plugins/copypath/README.md
Normal file
@@ -0,0 +1,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.
|
||||
Reference in New Issue
Block a user