Install improvements
This commit is contained in:
@@ -7,8 +7,8 @@ if not_installed "fish"; then
|
||||
update
|
||||
install fish
|
||||
fi
|
||||
echo "fish is installed"
|
||||
|
||||
echo "fish is installed"
|
||||
fish --version
|
||||
|
||||
fisher_location="$XDG_CONFIG_HOME/fish/functions/fisher.fish"
|
||||
@@ -17,7 +17,7 @@ if ! [ -f "$fisher_location" ]; then
|
||||
curl https://git.io/fisher --create-dirs -sLo "$fisher_location"
|
||||
fi
|
||||
echo "fisher is installed, updating..."
|
||||
sh -c 'env HOME=$(mktemp -d) fish -c "fisher"'
|
||||
`fish -c "fisher"`;
|
||||
|
||||
fish -c "fisher --version"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ if not_installed "pyenv"; then
|
||||
"bash"
|
||||
|
||||
fi
|
||||
echo "pyenv is installed, upgrading..."
|
||||
echo "pyenv is installed, upgrading $PYENV_ROOT..."
|
||||
git --git-dir="$PYENV_ROOT/.git" fetch -q
|
||||
git --git-dir="$PYENV_ROOT/.git" rebase -q --autostash FETCH_HEAD
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
source "$(dirname $0)/utils.sh"
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
|
||||
|
||||
# python3 and pip3 are installed
|
||||
if not_installed "pip3"; then
|
||||
@@ -8,9 +9,11 @@ if not_installed "pip3"; then
|
||||
|
||||
pyenv install 3.7.0
|
||||
pyenv global 3.7.0
|
||||
refresh
|
||||
|
||||
fi
|
||||
echo "python3 and pip3 are installed, upgrading..."
|
||||
pip install --upgrade pip
|
||||
pip3 install --upgrade pip
|
||||
python3 --version
|
||||
pip3 --version
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
source "$(dirname $0)/utils.sh"
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
|
||||
|
||||
# poetry is installed
|
||||
if not_installed "poetry"; then
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
source "$(dirname $0)/utils.sh"
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
|
||||
|
||||
mkdir -p "$XDG_DATA_HOME/nvim/backup"
|
||||
plug_target="$XDG_DATA_HOME/nvim/site/autoload/plug.vim"
|
||||
if [ ! -f $plug_target ]; then
|
||||
echo "Downloading vim-plug to $plug_target";
|
||||
curl -fLo "$plug_target" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
fi
|
||||
|
||||
echo "Installing neovim support";
|
||||
pip3 install neovim
|
||||
pip3 install pynvim
|
||||
node --version
|
||||
yarn global add neovim
|
||||
sudo gem install neovim
|
||||
|
||||
nvim -E PlugInstall -c q
|
||||
nvim -E PluginInstall -c q
|
||||
echo "Running PlugInstall";
|
||||
nvim --headless +PlugInstall +PlugUpgrade +PlugUpdate +qall
|
||||
nvim --version
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@ C_NC='\033[0m'
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# Helper variables #
|
||||
# ---------------------------------------------------------------------------- #
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
|
||||
install_dir="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
dotfiles_dir="$(dirname "$install_dir")"
|
||||
source "$dotfiles_dir/files/.bash_profile"
|
||||
|
||||
Reference in New Issue
Block a user