mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
Merge pull request #149 from vincentjames501/master
Allowing arguments to be passed to _python
This commit is contained in:
commit
0427854671
@ -1,8 +1,8 @@
|
||||
# Use python2 if found, otherwise fallback to python.
|
||||
function _python
|
||||
if which python2
|
||||
python2
|
||||
python2 $argv
|
||||
else
|
||||
python
|
||||
python $argv
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user