6a5afc1ff765158f7f48622243b69f20e4f0ae91

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1701 from mbauhardt/copydir

a plugin (function) which copies the current directory into the clipboar...

Diff

1diff --git a/plugins/copydir/copydir.plugin.zsh b/plugins/copydir/copydir.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..37bb5e086dc3e9e38b6ebcd435fffcc492f4c1e2
4--- /dev/null
5+++ b/plugins/copydir/copydir.plugin.zsh
6@@ -0,0 +1,3 @@
7+function copydir {
8+  pwd | tr -d "\r\n" | pbcopy
9+}