This repository has been archived on 2025-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
home/.oh-my-zsh/plugins/copydir/copydir.plugin.zsh

6 lines
149 B
Bash
Raw Normal View History

# Copies the pathname of the current directory to the system or X Windows clipboard
function copydir {
emulate -L zsh
print -n $PWD | clipcopy
}