Browse Source

Merge pull request #1701 from mbauhardt/copydir

a plugin (function) which copies the current directory into the clipboar...
Robby Russell 12 years ago
parent
commit
6a5afc1ff7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/copydir/copydir.plugin.zsh

+ 3 - 0
plugins/copydir/copydir.plugin.zsh

@@ -0,0 +1,3 @@
+function copydir {
+  pwd | tr -d "\r\n" | pbcopy
+}