mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Fix for Linux and make consistent
This commit is contained in:
parent
e317caaa8f
commit
9ca56d83c7
42 changed files with 106 additions and 52 deletions
10
shell/pyenv
10
shell/pyenv
|
|
@ -1,4 +1,10 @@
|
|||
# pyenv
|
||||
test -d "$HOME/.pyenv/bin" && PATH="$HOME/.pyenv/bin:$PATH"
|
||||
which pyenv 2>&1 >/dev/null && eval "$(pyenv init -)"
|
||||
if test -d "$HOME/.pyenv/bin"; then
|
||||
PATH="$HOME/.pyenv/bin:$PATH"
|
||||
fi
|
||||
if command -v pyenv 2>&1 >/dev/null; then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
export PATH
|
||||
|
||||
# vim: ft=bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue