ohmyzsh/plugins/copypath
2025-10-06 10:16:11 -04:00
..
copypath.plugin.zsh Resolved merge conflicts: kept updated .gitpod.Dockerfile and .gitpod.yml 2025-10-06 10:16:11 -04:00
README.md Resolved merge conflicts: kept updated .gitpod.Dockerfile and .gitpod.yml 2025-10-06 10:16:11 -04: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.