Completing nice looking build script
This commit is contained in:
parent
4e2f3e3d68
commit
b1c9ecf661
1 changed files with 10 additions and 8 deletions
|
@ -177,7 +177,7 @@
|
|||
"pika's minimal config")
|
||||
local url="https://git.k4li.de/dotfiles/nvim-mini.git"
|
||||
local err
|
||||
spin yellow "Cloning pika's standard config"
|
||||
spin yellow "Cloning pika's mini config"
|
||||
# if run install-stuff; then
|
||||
if run --err err git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
line
|
||||
|
@ -192,7 +192,7 @@
|
|||
local url err
|
||||
seek url "What is the url for your neovim config?" </dev/tty
|
||||
|
||||
spin yellow "Cloning your config!"
|
||||
spin yellow "Cloning your own config!"
|
||||
if run --err err git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
check "Cloned neovim config"
|
||||
else
|
||||
|
@ -207,6 +207,7 @@
|
|||
esac
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.config/nvim/" ]; then
|
||||
spin bold yellow "Also sourcing config!"
|
||||
if run --err err nvim --headless +q; then
|
||||
check "Prefetching config was successfull"
|
||||
|
@ -214,6 +215,7 @@
|
|||
throw "Prefetching has failed hard!"
|
||||
pen "${err:-}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue