bugfix: env config
This commit is contained in:
@ -1,11 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
# install nvm
|
# install nvm
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||||
|
|
||||||
# install pyenv
|
# install pyenv
|
||||||
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
|
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
|
||||||
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
|
|
||||||
|
# install pyenv-virtualenv plugin
|
||||||
|
git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
|
||||||
|
|
||||||
# install fisher
|
# install fisher
|
||||||
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
|
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
|
||||||
@ -29,10 +33,9 @@ fish -c "fisher self-update"
|
|||||||
fish -c fisher
|
fish -c fisher
|
||||||
fish -c "fisher add (pwd)/fish/theme-t31m"
|
fish -c "fisher add (pwd)/fish/theme-t31m"
|
||||||
|
|
||||||
# customize theme / prompt
|
# set fish default shell
|
||||||
cp dot.config/fish/functions/* ~/.config/fish/functions
|
echo "changing shell to fish, enter password"
|
||||||
|
|
||||||
# set fish default promt
|
|
||||||
chsh -s /usr/bin/fish
|
chsh -s /usr/bin/fish
|
||||||
|
|
||||||
cp dot.vimrc ~/.vimrc
|
cp dot.vimrc ~/.vimrc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user