From e77f551619a95ab3c7f47919117e3d7066230846 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 19 Apr 2022 21:13:40 -0400 Subject: [PATCH] Add more utilities --- applications/devel-core.nix | 4 ++++ applications/utils-core.nix | 21 ++++++++++++++++++++- home.nix | 7 ++++++- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/applications/devel-core.nix b/applications/devel-core.nix index fe88ed8..275e41a 100644 --- a/applications/devel-core.nix +++ b/applications/devel-core.nix @@ -7,6 +7,7 @@ # Git addons git-secret unstable.git-lfs + delta # General development requirements python3Full cmake @@ -15,6 +16,9 @@ nixpkgs-fmt # jq for interacting with JSON jq + jc + # Viewer for deeply nested JSON + fx # Direnv for nix-shell niceness direnv ]; diff --git a/applications/utils-core.nix b/applications/utils-core.nix index 00f03a1..709f399 100644 --- a/applications/utils-core.nix +++ b/applications/utils-core.nix @@ -20,10 +20,29 @@ sd du-dust ripgrep + ripgrep-all tokei - unstable.procs hyperfine unstable.bottom + dogdns + unstable.zenith + duf + # CLI Markdown renderer + glow + # Command line file manager + broot + # Much better curl + unstable.httpie + # CLI spreadsheets + visidata + # User friendly cut + choose + # Cheatsheet manager + cheat + # Ping with a graph + gping + # Man but terse + tealdeer # Pandoc for documentation unstable.pandoc # For nslookup diff --git a/home.nix b/home.nix index bffa607..28c27c6 100644 --- a/home.nix +++ b/home.nix @@ -24,7 +24,11 @@ # Setup our aliases shellAliases = { ls = "exa --icons"; - cat = "bat"; + la = "exa --icons -a"; + lg = "exa --icons --git" + cat = "bat"; + dig = "dog"; + df = "duf"; }; # Custom configuration interactiveShellInit = '' @@ -102,6 +106,7 @@ "tramp" "\\#*\\#" ]; + delta.enable = true; extraConfig = { init = { defaultBranch = "trunk";