Files
dotfiles/.oh-my-zsh/plugins/copydir/copydir.plugin.zsh
2017-11-17 04:23:58 +01:00

6 lines
149 B
Bash
Executable File

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