Commit 28cd6832 authored by Steve's avatar Steve Committed by Robby Russell
Browse files

updated alias and corrected python package (#6520)

parent a42b564e
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
# If no highlighting method supported for given extension then it tries # If no highlighting method supported for given extension then it tries
# guess it by looking for file content. # 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() { colorize_via_pygmentize() {
if [ ! -x "$(which pygmentize)" ]; then if [ ! -x "$(which pygmentize)" ]; then
echo "package \'pygmentize\' is not installed!" echo "package \'Pygments\' is not installed!"
return -1 return -1
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment