From b24d05e1f44e6e43077a046416289eec3107652a Mon Sep 17 00:00:00 2001 From: Random936 Date: Tue, 1 Oct 2024 14:40:22 -0700 Subject: [PATCH] New packages and zsh aliases --- home/headful-nixos.nix | 2 ++ home/zsh.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/home/headful-nixos.nix b/home/headful-nixos.nix index c4dddf0..9aa0b32 100644 --- a/home/headful-nixos.nix +++ b/home/headful-nixos.nix @@ -17,8 +17,10 @@ feh dconf docker + zoom-us discord wireshark + flameshot pavucontrol google-chrome bitwarden-cli diff --git a/home/zsh.nix b/home/zsh.nix index 5e36ab3..94ce3a1 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -14,6 +14,12 @@ shellAliases = { cd = "z"; ls = "eza"; + awkuniq = "sort | uniq"; + histogram = "awkuniq -c | sort -nr"; + json-less = "jq -C . | less -M"; + csv2json = "python -c 'import csv, json, sys; print(json.dumps([dict(r) for r in csv.DictReader(sys.stdin)]))'"; + + # Nix Specific aliases update-darwin = "darwin-rebuild switch --flake ~/dotfiles"; update-config = "sudo nixos-rebuild switch --flake ~/dotfiles"; update-home = "home-manager switch --flake ~/dotfiles";