Fix python version detection with pypy (probably)

See #137
pull/128/merge
Justin Hileman 6 years ago
parent 348666beaf
commit 39d2739fb7

@ -650,7 +650,7 @@ function __bobthefish_prompt_rubies -S -d 'Display current Ruby information'
end
function __bobthefish_virtualenv_python_version -S -d 'Get current Python version'
switch (python --version ^| tr '\n' ' ')
switch (python --version ^&1 | tr '\n' ' ')
case 'Python 2*PyPy*'
echo $__bobthefish_pypy_glyph
case 'Python 3*PyPy*'

Loading…
Cancel
Save