mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-15 05:40:57 +01:00
move plugin into $ZSH/plugins/printc
This commit is contained in:
10
plugins/printc/printc.plugin.zsh
Normal file
10
plugins/printc/printc.plugin.zsh
Normal file
@@ -0,0 +1,10 @@
|
||||
# load included completion function into existing
|
||||
# ~/.zcompdump-${SHORT_HOST}-${ZSH_VERSION} file
|
||||
autoload -Uz _printc && compinit -d $ZSH_COMPDUMP
|
||||
|
||||
# Wrapper function to call included printc script
|
||||
function printc() {
|
||||
zsh $ZSH/plugins/printc/printc_scpt $@
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user