mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
updated alias and corrected python package
This commit is contained in:
parent
c3b072eace
commit
2a85dc8a11
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue