Marc Cornellà 11a23144ad feat(copypath): add plugin to copy file paths to clipboard (#7569) | 2 年之前 | |
---|---|---|
.. | ||
README.md | 2 年之前 | |
copypath.plugin.zsh | 2 年之前 |
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:
plugins=(... copypath)
copypath
: copies the absolute path of the current directory.
copypath <file_or_directory>
: copies the absolute path of the given file.