浏览代码

Merge pull request #1701 from mbauhardt/copydir

a plugin (function) which copies the current directory into the clipboar...
Robby Russell 12 年之前
父节点
当前提交
6a5afc1ff7
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
+}