9c6b88607e8f2898ba3bc83fdf5cce616c6aec83
- Author
- Marko Bauhardt <marko.bauhardt@googlemail.com>
- Committer
- Marko Bauhardt <marko.bauhardt@googlemail.com>
- Date
Message
a plugin (function) which copies the current directory into the clipboard
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+}