|
|
@ -23,22 +23,24 @@ install_nix() { |
|
|
|
command -v nix >/dev/null 2>&1 || install_nix_bin |
|
|
|
} |
|
|
|
|
|
|
|
configure_zsh() { |
|
|
|
# FIXME: We deserve better |
|
|
|
source $HOME/.zshrc |
|
|
|
} |
|
|
|
|
|
|
|
configure_vim() { |
|
|
|
# Install vim-plug for Vim |
|
|
|
#curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
|
|
|
#vim +'PlugInstall --sync' +qa |
|
|
|
|
|
|
|
# Install vim-plug for Neovim |
|
|
|
# This is temporary disable, because that it hundreds modules and many error on compilation stage of this |
|
|
|
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
|
|
|
nvim +'PlugInstall --sync' +qa |
|
|
|
} |
|
|
|
|
|
|
|
install_spacevim() { |
|
|
|
# https://habr.com/ru/companies/cloud4y/articles/574450/ |
|
|
|
curl -sLf https://spacevim.org/install.sh | bash |
|
|
|
} |
|
|
|
|
|
|
|
install_nix |
|
|
|
|
|
|
|
#configure_zsh |
|
|
|
configure_vim |
|
|
|
#configure_vim |
|
|
|
|
|
|
|
install_spacevim |