mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
Merge b16cbc4153 into 3913106b2e
This commit is contained in:
commit
2b4ee26605
4 changed files with 212 additions and 4 deletions
|
|
@ -6,9 +6,9 @@
|
|||
alias colorize='colorize_via_pygmentize'
|
||||
|
||||
colorize_via_pygmentize() {
|
||||
if [ ! -x $(which pygmentize) ]; then
|
||||
if [ ! -x $(which pygmentize | awk ' { print $(NF) } ') ]; then
|
||||
echo package \'pygmentize\' is not installed!
|
||||
exit -1
|
||||
return -1
|
||||
fi
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
|
|
@ -25,4 +25,4 @@ colorize_via_pygmentize() {
|
|||
pygmentize -g "$FNAME"
|
||||
fi
|
||||
done
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@ function virtualenv_prompt_info(){
|
|||
|
||||
# disables prompt mangling in virtual_env/bin/activate
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT_BY_PLUGIN=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue