dotfiles/dot_oh-my-zsh/plugins/copydir/copydir.plugin.zsh
2020-06-15 05:31:33 -05: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
}