mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-07 14:39:43 +01:00
fish: Simplify nixos-rebuild abbreviations
This commit is contained in:
parent
34b8a5efb5
commit
e2ba4026c5
@ -109,9 +109,9 @@
|
|||||||
jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8
|
jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8
|
||||||
utf16 = "recode utf16..utf8"; # Rarely, some files from Japan are utf16 instead
|
utf16 = "recode utf16..utf8"; # Rarely, some files from Japan are utf16 instead
|
||||||
jp = "LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8";
|
jp = "LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8";
|
||||||
vm = /* fish */ ''cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && nixos-rebuild build-vm --flake . --verbose && ./result/bin/run-nixos-vm && trash put result nixos.qcow2'';
|
vm = "nixos-rebuild build-vm --flake . && ./result/bin/run-nixos-vm && trash put result nixos.qcow2";
|
||||||
sw = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && sudo nixos-rebuild switch --flake . --verbose";
|
sw = "sudo nixos-rebuild switch --flake .";
|
||||||
st = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local";
|
st = "crystal spec tests/main.cr --progress --verbose";
|
||||||
tf = "treefmt";
|
tf = "treefmt";
|
||||||
|
|
||||||
c = "clear";
|
c = "clear";
|
||||||
|
Loading…
Reference in New Issue
Block a user