mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-14 19:30:42 +01:00
a plugin (function) which copies the current directory into the clipboard
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user