浏览代码

updated alias and corrected python package (#6520)

Steve 7 年之前
父节点
当前提交
28cd683282
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      plugins/colorize/colorize.plugin.zsh

+ 3 - 2
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