1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 19:00:07 +00:00
ohmyzsh/plugins/copydir/copydir.plugin.zsh
2015-10-05 05:13:11 -04:00

5 lines
149 B
Bash

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