From 6447c0c30e897bc245b77b4cffea4fd8ae5c47d1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 1 Aug 2023 22:23:06 -0400 Subject: [PATCH] fish: Add nix abbreviations --- modules/fish.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/fish.nix b/modules/fish.nix index 2cc30261..ee2adbde 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -82,9 +82,16 @@ tr = "trash restore"; te = "trash empty"; + nf = "nix flake"; + nfu = "nix flake update"; + nd = "nix develop --command fish"; + nb = "nix build"; + ns = "nix shell"; + nr = "nix run"; + ncg = "sudo nix-collect-garbage d"; + dl = "yt-dlp"; vol = "wpctl set-volume '@DEFAULT_AUDIO_SINK@'"; # Change the volume, e.g. vol 10%+, vol 10%-, vol 100% - nf = "clear; and neofetch --size 56%"; df = "df --human-readable --type=ext4 --total"; du = "du --human-readable --summarize"; jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8