Browse Source

- disable all bootstrap yadm features, because that might be installed from ansible yadm playbook in pre_tasks

master
dimti 1 year ago
parent
commit
10c026fc4b
  1. 36
      .config/yadm/bootstrap

36
.config/yadm/bootstrap

@ -34,13 +34,45 @@ configure_vim() {
nvim +'PlugInstall --sync' +qa
}
install_starship() {
# https://starship.rs/guide/#%F0%9F%9A%80-installation
curl -sS https://starship.rs/install.sh | sh -s -- -f
}
install_spacevim() {
# https://habr.com/ru/companies/cloud4y/articles/574450/
curl -sLf https://spacevim.org/install.sh | bash
}
install_nix
download_font () {
url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/SourceCodePro/Regular/complete/${1// /%20}"
path="/usr/share/fonts/$1"
if [[ -f "$path" && ! -s "$path" ]]
then
rm "$path"
fi
if [[ -f "$path" ]]
then
success "Downloaded $1"
else
info "Downloading $1"
curl -s -o "$path" "$url"
success "Downloaded $1"
fi
}
install_fonts () {
download_font "Sauce Code Pro Nerd Font Complete.ttf"
info "Updating font cache, please wait ..."
fc-cache -fv > /dev/null
success "font cache done!"
}
#install_nix
#configure_vim
install_spacevim
#install_starship
#install_spacevim
Loading…
Cancel
Save