1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-02 04:57:45 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
6f41659f99
treewide: explicit control chars 2025-06-05 00:18:33 +03:00
32876cc5bc
rebuild: dixnix workaround 2025-06-04 21:14:25 +03:00
6 changed files with 21 additions and 20 deletions

View file

@ -14,7 +14,8 @@ in {
programs.bat = enabled { programs.bat = enabled {
config.theme = "base16"; config.theme = "base16";
themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme; themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme;
config.pager = "less -FR";
config.pager = "less --quit-if-one-screen --RAW-CONTROL-CHARS";
}; };
}]; }];
} }

View file

@ -29,7 +29,7 @@ in {
gl = "git log"; gl = "git log";
glo = "git log --oneline --graph"; glo = "git log --oneline --graph";
glp = "git log -p --ext-diff"; glp = "git log --patch --ext-diff";
gpl = "git pull"; gpl = "git pull";
gplr = "git pull --rebase"; gplr = "git pull --rebase";

View file

@ -16,7 +16,7 @@ in {
mv = "mv --verbose"; mv = "mv --verbose";
rm = "rm --recursive --verbose"; rm = "rm --recursive --verbose";
pstree = "pstree -g 2"; pstree = "pstree -g 3";
tree = "eza --tree --git-ignore --group-directories-first"; tree = "eza --tree --git-ignore --group-directories-first";
}; };

View file

@ -56,7 +56,7 @@ def main --wrapped [
] | append ($args_split | get --ignore-errors 1 | default []) ] | append ($args_split | get --ignore-errors 1 | default [])
if (uname | get kernel-name) == "Darwin" { if (uname | get kernel-name) == "Darwin" {
nh darwin switch . ...$nh_flags -- ...$nix_flags NH_NO_CHECKS=1 nh darwin switch . ...$nh_flags -- ...$nix_flags
if not (xcode-select --install e>| str contains "Command line tools are already installed") { if not (xcode-select --install e>| str contains "Command line tools are already installed") {
darwin-shadow-xcode-popup darwin-shadow-xcode-popup
@ -64,7 +64,7 @@ def main --wrapped [
darwin-set-zshrc darwin-set-zshrc
} else { } else {
nh os switch . ...$nh_flags -- ...$nix_flags NH_NO_CHECKS=1 nh os switch . ...$nh_flags -- ...$nix_flags
} }
} }