mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
a plugin (function) which copies the current directory into the clipboard
This commit is contained in:
parent
0198a12953
commit
9c6b88607e
1 changed files with 3 additions and 0 deletions
3
plugins/copydir/copydir.plugin.zsh
Normal file
3
plugins/copydir/copydir.plugin.zsh
Normal file
|
@ -0,0 +1,3 @@
|
|||
function copydir {
|
||||
pwd | tr -d "\r\n" | pbcopy
|
||||
}
|
Loading…
Reference in a new issue