mirror of
https://github.com/RGBCube/ncc
synced 2025-08-02 04:57:45 +00:00
Compare commits
2 commits
42d35c6d9a
...
6f41659f99
Author | SHA1 | Date | |
---|---|---|---|
6f41659f99 | |||
32876cc5bc |
6 changed files with 21 additions and 20 deletions
|
@ -14,7 +14,8 @@ in {
|
|||
programs.bat = enabled {
|
||||
config.theme = "base16";
|
||||
themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme;
|
||||
config.pager = "less -FR";
|
||||
|
||||
config.pager = "less --quit-if-one-screen --RAW-CONTROL-CHARS";
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ in {
|
|||
|
||||
gl = "git log";
|
||||
glo = "git log --oneline --graph";
|
||||
glp = "git log -p --ext-diff";
|
||||
glp = "git log --patch --ext-diff";
|
||||
|
||||
gpl = "git pull";
|
||||
gplr = "git pull --rebase";
|
||||
|
|
|
@ -16,7 +16,7 @@ in {
|
|||
mv = "mv --verbose";
|
||||
rm = "rm --recursive --verbose";
|
||||
|
||||
pstree = "pstree -g 2";
|
||||
pstree = "pstree -g 3";
|
||||
tree = "eza --tree --git-ignore --group-directories-first";
|
||||
};
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ def main --wrapped [
|
|||
] | append ($args_split | get --ignore-errors 1 | default [])
|
||||
|
||||
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") {
|
||||
darwin-shadow-xcode-popup
|
||||
|
@ -64,7 +64,7 @@ def main --wrapped [
|
|||
|
||||
darwin-set-zshrc
|
||||
} else {
|
||||
nh os switch . ...$nh_flags -- ...$nix_flags
|
||||
NH_NO_CHECKS=1 nh os switch . ...$nh_flags -- ...$nix_flags
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue