repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

git: push.default = upstream

92201cf69d9be29a06622970a80e8cd5edda204e

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

git/gitconfig

Modified
53 53 [push]
54 54 autoSetupRemote = true
55 + default = "upstream"
56 57 [pull]
57 58 rebase = false

tools/cargo-tools.nu

Modified
5 5 # we also cannot use `cargo install --list` to search for the binary name, in case the crate
6 6 # is not installed yet
7 7 let cargo_crates = [
8 - [ name bin features];
9 - [ "sccache" "sccache" [] ]
8 + [ name bin crago_args];
10 9 [ "inferno" "inferno-flamegraph" [] ]
11 10 [ "nu" "nu" [ "--features" "extra" ] ]
12 11 [ "sd" "sd" [] ]
14 13 [ "fd-find" "fd" [] ]
15 14 [ "choose", "choose", [] ]
16 15 [ "ripgrep" "rg" [] ]
17 - [ "onefetch" "onefetch" [] ]
18 16 [ "eva" "eva" [] ]
19 17 [ "mdcat" "mdcat" [] ]
20 18 [ "cargo-update" "cargo-install-update" [] ]
25 23 [ "tokei" "tokei" [] ]
26 24 [ "bat" "bat" [] ]
27 25 [ "pastel" "pastel" [] ]
28 - [ "diskonaut" "diskonaut" [] ]
29 - [ "menyoki" "menyoki" [] ]
30 26 [ "zoxide" "zoxide" [] ]
31 - [ "difftastic" "difft" []]
32 - [ "grex" "grex" [] ]
33 - [ "xh" "xh" [] ]
34 - [ "comrak" "comrak" [] ]
35 - # [ "bandwhich" "bandwhich" [] ] masked until https://github.com/imsnif/bandwhich/issues/233
36 27 [ "lychee" "lychee" [] ]
37 28 [ "viu" "viu" [] ]
38 29 [ "vivid" "vivid" [] ]
39 - [ "silicon" "silicon" [] ]
40 30 [ "bottom" "btm" [] ]
41 - # [ "sic" "sic" [] ] some issue with ssl on win32?
42 31 [ "just" "just" [] ]
43 32 [ "mdsh" "mdsh" [] ]
44 33 [ "git-delta" "delta" [] ]
46 35 [ "stylua" "stylua" [ "--features" "lua52" ] ]
47 36 [ "taplo-cli" "taplo" [] ]
48 37 [ "lms" "lms" [] ]
38 + [ "gitu" "gitu" [ "--locked" ] ]
51 41 # install all my favorite crate, only if they are not already in PATH.
52 42 def main [] {
53 - # FIXME: nushell in NixOS cannot detect hostname?
54 - if (sys).host.name == "NixOS" {
55 - #if (sys).host.name == "x230" {
56 - if (which akku | is-empty) {
57 - echo $'cargo install akku'
58 - cargo install --git https://github.com/bugabinga/akku
59 - } else {
60 - echo $"akku already installed"
61 - }
62 - }
63 43 $cargo_crates | each { | crate |
64 44 if ( which $crate.bin | is-empty ) {
65 - echo $'cargo install ($crate.name) ($crate.features)'
66 - cargo install $crate.name ...$crate.features
45 + echo $'cargo install ($crate.name) ($crate.crago_args)'
46 + cargo install $crate.name ...$crate.crago_args
67 47 } else {
68 48 echo $"($crate.name) already installed"