Christian Fredrik Johnsen 198c89471a refactor: Use same setup as rbenv-init for reading arguments in
pyenv-init.

- It turns out that the code I wrote was very similar to what was
  already present in rbenv-init.

As rbenv is referenced when I am writing a pull request, I am assuming
that maintainers want code similar to what's already there.

WARNING:
The code will now not validate whether the specified shell is valid or
not, and if you make a silly mistake like writing `--parh` instead of
`--path`, the shell may be set to `--parh` and so forth. But I guess
this is acceptable.
2024-12-21 18:05:48 +01:00
..
2024-12-18 10:13:13 +03:00
2021-02-23 22:29:56 +02:00