ohmyzsh/plugins/copydir/copydir.plugin.zsh

3 lines
50 B
Bash

function copydir {
pwd | tr -d "\r\n" | pbcopy
}