Skip to content

Commit

Permalink
Stop using pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepqr committed Nov 3, 2024
1 parent 3ef9ae9 commit fa91d12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
5 changes: 5 additions & 0 deletions bash/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

# Setting PATH for Python 3.13
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.13/bin:${PATH}"
export PATH
8 changes: 4 additions & 4 deletions bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
[[ -r "$BREW_PREFIX/etc/profile.d/bash_completion.sh" ]] && . "$BREW_PREFIX/etc/profile.d/bash_completion.sh"
fi

# Move /usr/local/bin ahead of brew in $PATH
pathremove /usr/local/bin
pathadd /usr/local/bin

pathadd "$HOME/bin"
GOPATH=$HOME/go
pathadd "$GOPATH/bin"
Expand Down Expand Up @@ -64,10 +68,6 @@ fi

## -- PYTHON --
export PYTHONSTARTUP=${HOME}/.config/python/pythonrc.py
# add pyenv itself to path
pathadd "$HOME/.pyenv/bin"
# add pyenv versions to path
pathadd "${HOME}/.pyenv/shims"
export VENVHOME="${HOME}/.ves"

## -- VI --
Expand Down
2 changes: 2 additions & 0 deletions python/.config/pip/pip.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[global]
require-virtualenv = true
7 changes: 0 additions & 7 deletions vim/.config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,6 @@ for d in glob(stdpath('config') . '/spell/*.add', 1, 1)
endif
endfor

if filereadable('/Users/mike/.ves/neovim2/bin/python')
let g:python_host_prog = '/Users/mike/.ves/neovim2/bin/python'
endif
if filereadable('/Users/mike/.ves/neovim3/bin/python')
let g:python3_host_prog = '/Users/mike/.ves/neovim3/bin/python'
endif

au TermOpen * setlocal nonumber norelativenumber
tnoremap <Esc> <C-\><C-n>
Expand Down

0 comments on commit fa91d12

Please sign in to comment.