mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Merge pull request #1701 from mbauhardt/copydir
a plugin (function) which copies the current directory into the clipboar...
This commit is contained in:
commit
6a5afc1ff7
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…
Add table
Add a link
Reference in a new issue