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