mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-12 05:03:39 +00:00
feat(scripts): python wrapper for python3
This commit is contained in:
@@ -95,6 +95,7 @@ have op && {
|
|||||||
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
||||||
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
||||||
have pyenv && {
|
have pyenv && {
|
||||||
|
path_append "$(pyenv root)/shims"
|
||||||
path_append "$PYENV_ROOT/bin"
|
path_append "$PYENV_ROOT/bin"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
}
|
}
|
||||||
|
|||||||
7
local/bin/python
Executable file
7
local/bin/python
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# work around https://github.com/Microsoft/vscode/issues/3941
|
||||||
|
# and anyone else who expects to see a 'python' executable
|
||||||
|
|
||||||
|
exec python3 "$@"
|
||||||
|
|
||||||
Reference in New Issue
Block a user