1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 17:57:34 +08:00
ohmyzsh/plugins/copypath
2022-02-22 11:25:09 +01:00
..
copypath.plugin.zsh feat(copypath): add plugin to copy file paths to clipboard (#7569) 2022-02-22 11:25:09 +01:00
README.md feat(copypath): add plugin to copy file paths to clipboard (#7569) 2022-02-22 11:25:09 +01:00

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:

plugins=(... copypath)

Usage

  • copypath: copies the absolute path of the current directory.

  • copypath <file_or_directory>: copies the absolute path of the given file.