added more info output
This commit is contained in:
12
kfg
12
kfg
@@ -425,7 +425,7 @@ function init {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function cleanup {
|
function cleanup {
|
||||||
rm -R "$TMP_PATH"
|
sudo rm -R "$TMP_PATH"
|
||||||
#nop
|
#nop
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -680,10 +680,12 @@ function p_nvim {
|
|||||||
#cd "${TMP_PATH}/neovim/build" && cpack -G DEB && sudo dpkg -i nvim-linux64.deb
|
#cd "${TMP_PATH}/neovim/build" && cpack -G DEB && sudo dpkg -i nvim-linux64.deb
|
||||||
|
|
||||||
# Download config
|
# Download config
|
||||||
res=$(git -C "${TMP_PATH}" clone --filter=blob:none --no-checkout --depth 1 --sparse https://git.cbeck.tech/kamu/dotfiles.git "${TMP_PATH}/dotfiles")
|
log_info "Downloading neovim configuration..."
|
||||||
res=$(git -C "${TMP_PATH}/dotfiles" sparse-checkout add ".config/nvim")
|
res=$(git -C "${TMP_PATH}" clone --filter=blob:none --no-checkout --depth 1 --sparse https://git.cbeck.tech/kamu/dotfiles.git "${TMP_PATH}/dotfiles" 2>&1)
|
||||||
res=$(git -C "${TMP_PATH}/dotfiles" checkout)
|
res=$(git -C "${TMP_PATH}/dotfiles" sparse-checkout add ".config/nvim" 2>&1)
|
||||||
res=$(cp -r "${TMP_PATH}/dotfiles/.config/nvim" ${CONFIG_PATH}/nvim/)
|
res=$(git -C "${TMP_PATH}/dotfiles" checkout 2>&1)
|
||||||
|
res=$(cp -r "${TMP_PATH}/dotfiles/.config/nvim" ${CONFIG_PATH}/nvim/ 2>&1)
|
||||||
|
log_add "Added neovim configuration."
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user