summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve <wifijanitor@users.noreply.github.com>2018-01-22 21:18:03 -0600
committerRobby Russell <robby@planetargon.com>2018-01-22 19:18:03 -0800
commit28cd683282f16b4306f47127149f7f2886db5b9c (patch)
tree3091975521e796a4789c115e5720aad42c83dd38
parenta42b564ecbe83c65a72dbeaccfce235f69039f01 (diff)
downloadzsh-28cd683282f16b4306f47127149f7f2886db5b9c.tar.gz
zsh-28cd683282f16b4306f47127149f7f2886db5b9c.tar.bz2
zsh-28cd683282f16b4306f47127149f7f2886db5b9c.zip
updated alias and corrected python package (#6520)
-rw-r--r--plugins/colorize/colorize.plugin.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/colorize/colorize.plugin.zsh b/plugins/colorize/colorize.plugin.zsh
index 11b58e69d..b97dffe43 100644
--- a/plugins/colorize/colorize.plugin.zsh
+++ b/plugins/colorize/colorize.plugin.zsh
@@ -3,11 +3,12 @@
# If no highlighting method supported for given extension then it tries
# guess it by looking for file content.
-alias colorize='colorize_via_pygmentize'
+#easier alias to use plugin
+alias ccat='colorize_via_pygmentize'
colorize_via_pygmentize() {
if [ ! -x "$(which pygmentize)" ]; then
- echo "package \'pygmentize\' is not installed!"
+ echo "package \'Pygments\' is not installed!"
return -1
fi