1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:40:06 +08:00

Add --no-fonts option (#4415)

close #4354
This commit is contained in:
Wang Shidong 2021-08-21 14:16:41 +08:00 committed by GitHub
parent fd4b7a6e75
commit 5ed892fe7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,6 +287,7 @@ usage () {
echo " -v, --version Show version information and exit" echo " -v, --version Show version information and exit"
echo " -u, --uninstall Uninstall SpaceVim" echo " -u, --uninstall Uninstall SpaceVim"
echo " -c, --checkRequirements checkRequirements for SpaceVim" echo " -c, --checkRequirements checkRequirements for SpaceVim"
echo " --no-fonts skip downloading fonts"
echo "" echo ""
echo "EXAMPLE" echo "EXAMPLE"
echo "" echo ""
@ -438,6 +439,16 @@ main () {
usage usage
exit 0 exit 0
;; ;;
--no-fonts)
welcome
need_cmd 'git'
fetch_repo
install_vim
install_neovim
install_package_manager
install_done
exit 0
;;
--version|-v) --version|-v)
msg "${Version}" msg "${Version}"
exit 0 exit 0