dotfiles/zsh/.oh-my-zsh_old/plugins/copydir/copydir.plugin.zsh
2020-03-09 15:32:52 +01:00

6 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
}