mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 01:03:41 +01:00
5c8b0cc0c1
Change copydir, copyfile, and coffee plugins to use them, instead of the Mac-only `pbcopy` command.
8 lines
148 B
Bash
8 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
|
|
}
|