incorporate pyenv, nvm, profile scripts, autolink ~/dev
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-11 14:29:50 -07:00
parent 19a607971c
commit 7bc4fbffc5
16 changed files with 203 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ pip3 install black
echo chown -Rv $UID_TO_ADD:$GID_TO_ADD /home/user
chown -Rv $UID_TO_ADD:$GID_TO_ADD /home/user
chsh --shell $(which zsh) $USERNAME_TO_ADD
sudo \
--set-home \

View File

@@ -19,13 +19,21 @@ export ZSH="$HOME/.zsh"
bash /tmp/installomz.sh --unattended --keep-zshrc
# vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# this should happen from vimrc
#curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
# https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# link in ssh key from original home
mkdir -p ~/.ssh
ln -s ~/.home/.ssh/id_rsa ~/.ssh/id_rsa
ln -s ~/.home/.ssh/id_rsa.pub ~/.ssh/id_rsa.pub
# install pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
# FIXME install a python version
git clone https://github.com/nvm-sh/nvm.git ~/.nvm
# FIXME install an nvm version
# move this to runtime FIXME
#DEVDIR="$( cd ~/.home/dev >/dev/null 2>&1 && pwd -P)"