diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2018-02-08 11:10:56 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2018-02-08 11:10:56 -0700 |
commit | b7b623d6de696b81d213ec666d072851561d5c06 (patch) | |
tree | 996eeb851a9be04c351c4067ed6608c17c8164e8 /plugins/colorize | |
parent | b388fd7fdaccf2875cb5ef58c100dd7634b74bc3 (diff) | |
parent | 37c2d0ddd751e15d0c87a51e2d9f9849093571dc (diff) | |
download | zsh-b7b623d6de696b81d213ec666d072851561d5c06.tar.gz zsh-b7b623d6de696b81d213ec666d072851561d5c06.tar.bz2 zsh-b7b623d6de696b81d213ec666d072851561d5c06.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/colorize')
-rw-r--r-- | plugins/colorize/colorize.plugin.zsh | 5 |
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 |