summaryrefslogtreecommitdiff
path: root/plugins/copypath/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-02-22 11:18:43 +0100
committerMarc Cornellà <hello@mcornella.com>2022-02-22 11:25:09 +0100
commit11a23144ad189b6befee2332383188dbffecee6c (patch)
treee884a4b8bebc06a5a3e5567cf433ba392f9fe4e8 /plugins/copypath/README.md
parentb00b59364a019894ee4b9ba4062d922fedaa5ccd (diff)
downloadzsh-11a23144ad189b6befee2332383188dbffecee6c.tar.gz
zsh-11a23144ad189b6befee2332383188dbffecee6c.tar.bz2
zsh-11a23144ad189b6befee2332383188dbffecee6c.zip
feat(copypath): add plugin to copy file paths to clipboard (#7569)
Closes #7569 Closes #10714
Diffstat (limited to 'plugins/copypath/README.md')
-rw-r--r--plugins/copypath/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/copypath/README.md b/plugins/copypath/README.md
new file mode 100644
index 000000000..1e5a463a6
--- /dev/null
+++ b/plugins/copypath/README.md
@@ -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.