mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 09:50:08 +00:00
5 lines
149 B
Bash
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
|
|
}
|