mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 00:54:22 +08:00
Add READMEs to plugins copydir and copyfile (#6802)
* Add README to copydir plugin * Add README to copyfile plugin
This commit is contained in:
1 parent
8f0ff4bb63
commit
00f311a3c1
2 files changed
+20
No files matched your search
@@ -0,0 +1,10 @@
|
|||||||
|
# copydir plugin
|
||||||
|
|
||||||
|
Copies the path of your current folder to the system clipboard.
|
||||||
|
|
||||||
|
To use, add `copydir` to your plugins array:
|
||||||
|
```
|
||||||
|
plugins=(... copydir)
|
||||||
|
```
|
||||||
|
|
||||||
|
Then use the command `copydir` to copy the $PWD.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# copyfile plugin
|
||||||
|
|
||||||
|
Puts the contents of a file in your system clipboard so you can paste it anywhere.
|
||||||
|
|
||||||
|
To use, add `copyfile` to your plugins array:
|
||||||
|
```
|
||||||
|
plugins=(... copyfile)
|
||||||
|
```
|
||||||
|
|
||||||
|
Then you can run the command `copyfile <filename>` to copy the file named `filename`.
|
||||||
Reference in new issue
Block a user