Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
28cd6832
Commit
28cd6832
authored
Jan 22, 2018
by
Steve
Committed by
Robby Russell
Jan 22, 2018
Browse files
updated alias and corrected python package (#6520)
parent
a42b564e
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/colorize/colorize.plugin.zsh
View file @
28cd6832
...
...
@@ -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
\'
p
ygment
ize
\'
is not installed!"
echo
"package
\'
P
ygment
s
\'
is not installed!"
return
-1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment