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
Oh My Zsh
Commits
28cd6832
"vscode:/vscode.git/clone" did not exist on "9a2376bd29682d9b1c42eb4e0223aacbb784f0fb"
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
Hide whitespace changes
Inline
Side-by-side
plugins/colorize/colorize.plugin.zsh
View file @
28cd6832
...
@@ -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
\'
p
ygment
ize
\'
is not installed!"
echo
"package
\'
P
ygment
s
\'
is not installed!"
return
-1
return
-1
fi
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