mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-02 14:03:51 +08:00
9 lines
130 B
Fish
9 lines
130 B
Fish
|
# Use python2 if found, otherwise fallback to python.
|
||
|
function _python
|
||
|
if which python2
|
||
|
python2
|
||
|
else
|
||
|
python
|
||
|
end
|
||
|
end
|