neovim + lazyvim

This commit is contained in:
2025-05-21 20:26:23 +08:00
parent 87fd722509
commit 1640ebfb45
6 changed files with 46 additions and 72 deletions

View File

@@ -94,7 +94,7 @@ open_url() {
# unpack .tar.gz file $1 into path $2
unpack_targz() {
require tar
tar -xzf "$1" -C "$2"
tar -xzvf "$1" -C "$2"
}
# make soft symbolic link of path $1 to path $2

View File

@@ -2,7 +2,7 @@
_dir=$( dirname $(readlink -e -- "${BASH_SOURCE}"))
source "$_dir/io.sh" || exit 255
source "$_dir/basic.sh" || exit 255
source "$_dir/pkg.sh" || exit 255
source "$_dir/packages.sh" || exit 255
########################################################
# Shorthands for git
@@ -10,7 +10,7 @@ source "$_dir/pkg.sh" || exit 255
git.clone_quick() {
require git
git clone --depth=1 --single-branch "$*"
git clone --depth=1 --single-branch "$@"
}
git.is_repo() {