2015-08-17 19:53:45 -07:00
|
|
|
# Copies the pathname of the current directory to the system or X Windows clipboard
|
2013-04-08 13:11:22 -07:00
|
|
|
function copydir {
|
2015-08-17 19:53:45 -07:00
|
|
|
emulate -L zsh
|
|
|
|
print -n $PWD | clipcopy
|
2013-04-08 13:11:22 -07:00
|
|
|
}
|