Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1701 from mbauhardt/copydir

a plugin (function) which copies the current directory into the clipboar...
  • Loading branch information...
commit 6a5afc1ff765158f7f48622243b69f20e4f0ae91 2 parents 459e7ff + 9c6b886
@robbyrussell authored
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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.