testing..
This commit is contained in:
parent
f06a10e4f9
commit
b2e8c37812
1 changed files with 15 additions and 9 deletions
24
neovim.sh
24
neovim.sh
|
@ -80,7 +80,7 @@
|
|||
|
||||
if command_exists git; then
|
||||
sleep 1
|
||||
if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
|
||||
if $_run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
|
||||
check green "Cloned $PACKAGE sources"
|
||||
line
|
||||
|
||||
|
@ -101,7 +101,7 @@
|
|||
line
|
||||
# echo_pkg build "Compiling neovim from source"
|
||||
spin "Compiling neovim from source"
|
||||
if run make CMAKE_BUILD_TYPE=RelWithDebInfo; then
|
||||
if $_run make CMAKE_BUILD_TYPE=RelWithDebInfo; then
|
||||
check "Compiled $PACKAGE from source"
|
||||
line
|
||||
echo_pkg install
|
||||
|
@ -117,7 +117,7 @@
|
|||
if [ -d "$HOME/.config/nvim/" ]; then
|
||||
# echo_pkg qol "Prefetching neovim setup configuration.."
|
||||
spin "Prefetching neovim setup configuration.."
|
||||
if run nvim --headless +q; then
|
||||
if $_run nvim --headless +q; then
|
||||
check "Prefetched config"
|
||||
else
|
||||
throw "Prefetching config went terribly wrong!"
|
||||
|
@ -135,8 +135,8 @@
|
|||
local err out
|
||||
local url="https://git.k4li.de/dotfiles/nvim.git"
|
||||
spin yellow "Cloning pika's standard config"
|
||||
# if run install-stuff; then
|
||||
if run --err err --out out git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
# if $_run install-stuff; then
|
||||
if $_run --err err --out out git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
check "Cloned neovim config"
|
||||
line
|
||||
pen "${out:-}"
|
||||
|
@ -146,7 +146,7 @@
|
|||
fi
|
||||
|
||||
spin bold yellow "Also sourcing config!"
|
||||
if run --err err --out out nvim --headless +q; then
|
||||
if $_run --err err --out out nvim --headless +q; then
|
||||
check "Prefetching config was successfull"
|
||||
line
|
||||
pen "${out:-}"
|
||||
|
@ -159,8 +159,8 @@
|
|||
"pika's minimal config")
|
||||
local url="https://git.k4li.de/dotfiles/nvim-mini.git"
|
||||
spin yellow "Cloning pika's standard config"
|
||||
# if run install-stuff; then
|
||||
if run --err err --out out git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
# if $_run install-stuff; then
|
||||
if $_run --err err --out out git clone --recursive --depth=1 $url "$HOME/.config/nvim"; then
|
||||
check "Cloned neovim config"
|
||||
line
|
||||
pen "${out:-}"
|
||||
|
@ -170,7 +170,7 @@
|
|||
fi
|
||||
|
||||
spin bold yellow "Also sourcing config!"
|
||||
if run --err err --out out nvim --headless +q; then
|
||||
if $_run --err err --out out nvim --headless +q; then
|
||||
check "Prefetching config was successfull"
|
||||
line
|
||||
pen "${out:-}"
|
||||
|
@ -228,6 +228,12 @@
|
|||
esac
|
||||
done
|
||||
|
||||
if $silent; then
|
||||
_run="run"
|
||||
else
|
||||
_run=""
|
||||
fi
|
||||
|
||||
main </dev/tty
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue