Browse files

a plugin (function) which copies the current directory into the clipb…

…oard
  • Loading branch information...
1 parent 0198a12 commit 9c6b88607e8f2898ba3bc83fdf5cce616c6aec83 Marko Bauhardt committed Apr 8, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/copydir/copydir.plugin.zsh
View
3 plugins/copydir/copydir.plugin.zsh
@@ -0,0 +1,3 @@
+function copydir {
+ pwd | tr -d "\r\n" | pbcopy
+}

0 comments on commit 9c6b886

Please sign in to comment.