further cleanup
update docs and tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# apt update and upgrade
|
||||
#
|
||||
# Install list of packages in ./00-apt-pkglist
|
||||
# Install list of packages in 00-apt-pkglist
|
||||
#
|
||||
|
||||
# pre clean
|
||||
|
||||
@@ -39,12 +39,11 @@ printf "fish is default login shell\n"
|
||||
|
||||
# 3. fish dotfiles are symlinked
|
||||
fish_source="$dotfiles_dir/fish"
|
||||
fish_target="$HOME/.config/fish"
|
||||
fish_target="$XDG_CONFIG_HOME/fish"
|
||||
link_folder "$fish_source" "$fish_target"
|
||||
printf "fish dotfiles linked\n"
|
||||
|
||||
# 4. fisher is installed
|
||||
XDG_CONFIG_HOME="$HOME/.config"
|
||||
fisher_location="$XDG_CONFIG_HOME/fish/functions/fisher.fish"
|
||||
if ! [ -f "$fisher_location" ]; then
|
||||
|
||||
@@ -57,5 +56,3 @@ fi
|
||||
printf "fisher is installed, updating...\n"
|
||||
fish -c "fisher"
|
||||
fish -c "fisher --version"
|
||||
|
||||
export XDG_CONFIG_HOME
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#
|
||||
|
||||
# 1. pyenv is installed
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
if not_installed "pyenv"; then
|
||||
|
||||
printf "Installing pyenv...\n"
|
||||
|
||||
24
install/20-nvm.sh
Executable file
24
install/20-nvm.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# After running this script:
|
||||
# 1. nvm is installed
|
||||
#
|
||||
|
||||
# 1. nvm is installed
|
||||
if not_installed "nvm"; then
|
||||
|
||||
printf "Installing nvm...\n"
|
||||
|
||||
# Install nvm
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||
refresh
|
||||
|
||||
fi
|
||||
printf "nvm is installed, upgrading...\n"
|
||||
git --git-dir="$NVM_DIR/.git" pull
|
||||
nvm update --lts node
|
||||
nvm update node
|
||||
nvm update npm
|
||||
nvm --version
|
||||
node --version
|
||||
npm --version
|
||||
@@ -10,8 +10,8 @@ if not_installed "keybase"; then
|
||||
printf "Installing keybase...\n"
|
||||
|
||||
curl --remote-name https://prerelease.keybase.io/keybase_amd64.deb
|
||||
install ./keybase_amd64.deb
|
||||
rm ./keybase_amd64.deb
|
||||
install keybase_amd64.deb
|
||||
rm keybase_amd64.deb
|
||||
|
||||
fi
|
||||
printf "keybase is installed\n"
|
||||
Reference in New Issue
Block a user