From 23bc339ee9ac6c891c802fa516a94a1a37b788fb Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 28 Sep 2023 15:38:39 +0700 Subject: [PATCH] chore(scripts): install libgit2 for exa, ... --- scripts/cargo_force.sh | 7 +++++++ scripts/nix_init.sh | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100755 scripts/cargo_force.sh diff --git a/scripts/cargo_force.sh b/scripts/cargo_force.sh new file mode 100755 index 0000000..e1eff98 --- /dev/null +++ b/scripts/cargo_force.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +cargo install --force \ + fd-find bat ripgrep git-delta exa tealdeer \ + difftastic vivid \ + fnm stylua taplo-cli \ + pfetch pokeget diff --git a/scripts/nix_init.sh b/scripts/nix_init.sh index 742ca73..c2deab5 100755 --- a/scripts/nix_init.sh +++ b/scripts/nix_init.sh @@ -1,12 +1,9 @@ #!/usr/bin/env bash -# https://nixos.org/manual/nix/stable/package-management/basic-package-mgmt -nix-channel --add https://nixos.org/channels/nixpkgs-unstable -nix-channel --list nix-channel --update nix-env -iA \ - nixpkgs.git nixpkgs.neovim \ + nixpkgs.libgit2 nixpkgs.git nixpkgs.neovim \ nixpkgs.fdupes nixpkgs.rsync nixpkgs.rclone nixpkgs.restic nixpkgs.taskwarrior \ nixpkgs.nnn nixpkgs.ffmpegthumbnailer nixpkgs.asciinema-agg nixpkgs.yt-dlp nixpkgs.libjxl \ nixpkgs.pipx nixpkgs.plantuml