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