add: astro nvim config clone
This commit is contained in:
parent
5df6d1e048
commit
6dbd1ea510
1 changed files with 7 additions and 5 deletions
12
install.sh
12
install.sh
|
@ -165,7 +165,7 @@ askThings() {
|
|||
read -r askOptional </dev/tty
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
|
@ -175,13 +175,14 @@ askThings() {
|
|||
esac
|
||||
}
|
||||
|
||||
ask_Neovide(){
|
||||
ask_Neovide() {
|
||||
echo_info "Do you also want to install a neovide config? [y/N]"
|
||||
read -r askNeovide </dev/tty
|
||||
|
||||
case "$askNeovide" in
|
||||
[yY])
|
||||
cloneDots "neovide" ;;
|
||||
[yY])
|
||||
cloneDots "neovide"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
@ -225,8 +226,9 @@ __validate__() {
|
|||
esac
|
||||
|
||||
case "$askNvim" in
|
||||
[mM] | minimal) cloneDots "nvim-mini" "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 ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue