feat(dotbot): plugins: pipx, snap and crontab

This commit is contained in:
2023-09-25 11:51:23 +03:00
parent 67867b57cd
commit 748e5bb561
12 changed files with 65 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ source "$HOME/.dotfiles/scripts/shared.sh"
! have cargo && {
msg "cargo could not be found. installing cargo with rustup.rs"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path
}
packages=(
@@ -18,6 +18,9 @@ packages=(
"eza"
# A simple, fast and user-friendly alternative to 'find'
"fd-find"
"cargo-update"
"pijul"
"ripgrep"
)
for pkg in "${packages[@]}"; do
@@ -26,7 +29,8 @@ for pkg in "${packages[@]}"; do
# Skip comments
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
cargo install $pkg
msg "Installing cargo package $pkg"
cargo install "$pkg"
echo ""
done

View File

@@ -18,7 +18,7 @@ for pkg in "${packages[@]}"; do
# Skip comments
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
python3 -m pip install --user $pkg
python3 -m pip install --user "$pkg"
echo ""
done