updated alias and corrected python package (#6520)
This commit is contained in:
parent
a42b564ecb
commit
28cd683282
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user