add: astro nvim config clone
This commit is contained in:
parent
5df6d1e048
commit
6dbd1ea510
1 changed files with 7 additions and 5 deletions
10
install.sh
10
install.sh
|
@ -165,7 +165,7 @@ askThings() {
|
||||||
read -r askOptional </dev/tty
|
read -r askOptional </dev/tty
|
||||||
|
|
||||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||||
echo_info "Do you also want to install a neovim config? [m]inimal || [s]tandard || [n]o"
|
echo_info "Do you also want to install a neovim config? [m]inimal || [s]tandard || [a]stro || [n]o"
|
||||||
read -r askNvim </dev/tty
|
read -r askNvim </dev/tty
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -175,13 +175,14 @@ askThings() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
ask_Neovide(){
|
ask_Neovide() {
|
||||||
echo_info "Do you also want to install a neovide config? [y/N]"
|
echo_info "Do you also want to install a neovide config? [y/N]"
|
||||||
read -r askNeovide </dev/tty
|
read -r askNeovide </dev/tty
|
||||||
|
|
||||||
case "$askNeovide" in
|
case "$askNeovide" in
|
||||||
[yY])
|
[yY])
|
||||||
cloneDots "neovide" ;;
|
cloneDots "neovide"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,8 +226,9 @@ __validate__() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$askNvim" in
|
case "$askNvim" in
|
||||||
[mM] | minimal) cloneDots "nvim-mini" "nvim" && ask_Neovide ;;
|
|
||||||
[sS] | standard) cloneDots "nvim" && ask_Neovide ;;
|
[sS] | standard) cloneDots "nvim" && ask_Neovide ;;
|
||||||
|
[mM] | minimal) cloneDots "nvim-mini" "nvim" && ask_Neovide ;;
|
||||||
|
[aA] | astro) cloneDots "nvim-astro" "nvim" && ask_Neovide ;;
|
||||||
[nN] | no) return 0 ;;
|
[nN] | no) return 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue