p
p copied to clipboard
Add .exe suffix to python executable only when necessary
- Test the platform using
uname
and add the.exe
suffix if usingcygwin
ormingw
- Only add and source
.zshrc
/.bashrc
if they are available
Fixes https://github.com/qw3rtman/p/issues/11 and https://github.com/qw3rtman/p/issues/30 (which is essentially a duplicate issue)