mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
move plugin into $ZSH/plugins/printc
This commit is contained in:
parent
59930902e1
commit
0a1acbb5d5
6 changed files with 362 additions and 0 deletions
23
plugins/printc/_printc
Normal file
23
plugins/printc/_printc
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#compdef printc
|
||||
|
||||
_printc() {
|
||||
local -a all_opts
|
||||
|
||||
all_opts=(
|
||||
"-b[bold]"
|
||||
"-i[italic]"
|
||||
"-u[underline]"
|
||||
"-l[list built in colors]"
|
||||
"-h[show help message]"
|
||||
"-C[built in colors]:custom:(cayenne \
|
||||
mocha asparagus fern clover moss teal \
|
||||
ocean midnight eggplant plum maroon maraschino \
|
||||
tangerine lemon lime spring seafoam turquois \
|
||||
aqua blueberry grape magenta strawberry salmon \
|
||||
cantaloupe banana honeydew flora spindrift ice \
|
||||
sky orchid lavender bubblegum carnation)"
|
||||
)
|
||||
|
||||
_arguments -s "$all_opts[@]"
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue