mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-21 03:41:57 +00:00
5c8b0cc0c1
Change copydir, copyfile, and coffee plugins to use them, instead of the Mac-only `pbcopy` command.
7 lines
148 B
Bash
7 lines
148 B
Bash
# Copies the contents of a given file to the system or X Windows clipboard
|
|
#
|
|
# copyfile <file>
|
|
function copyfile {
|
|
emulate -L zsh
|
|
clipcopy $1
|
|
}
|