mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
@@ -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*'
|
||||
|
||||
Reference in New Issue
Block a user