fix pyenv init, remove todo
This commit is contained in:
parent
219f5a0523
commit
b180a08336
2 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv
|
export PYENV_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/pyenv
|
||||||
_init_pyenv() {
|
_init_pyenv() {
|
||||||
unfunction _pyenv
|
unfunction pyenv
|
||||||
export PATH="$PATH:$PYENV_ROOT/bin"
|
export PATH="$PATH:$PYENV_ROOT/bin"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
if pyenv commands | grep -q 'virtualenv'; then
|
if pyenv commands | grep -q 'virtualenv'; then
|
||||||
|
|
1
zshrc
1
zshrc
|
@ -79,5 +79,4 @@ if exists stack; then
|
||||||
eval "$(stack --bash-completion-script stack)"
|
eval "$(stack --bash-completion-script stack)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exists todo && todo
|
|
||||||
exists thefuck && eval $(thefuck --alias)
|
exists thefuck && eval $(thefuck --alias)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue