Files
dotfiles/zsh/.oh-my-zsh/plugins/copydir/copydir.plugin.zsh
Christian Nieves 76a6480b62 Populate repo
2022-04-19 15:50:47 +00: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
}