repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of https://github.com/bugabinga/dotfiles into trunk

07febe59bcbca58dbfe32ead746c31fab74474fc

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

+16 / −26 text lines

Diff layout

cargo/config.toml

Modified

+1 / −1 text lines

1414[target.x86_64-unknown-linux-gnu]
1515# not sure why that is necessary, but without it, rustc seems to pass wrong arguments to mold.
1616linker = "clang"
17rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]
17rustflags = ["-C", "link-arg=--ld-path=mold"]

neovim/lazy-lock.json

Modified

+3 / −3 text lines

1515 "hyper.nvim": { "branch": "main", "commit": "b84fb39e703b1dd487d20c4faf028ee51374c88b" },
1616 "indent-blankline.nvim": { "branch": "master", "commit": "821a7acd88587d966f7e464b0b3031dfe7f5680c" },
1717 "lazy.nvim": { "branch": "main", "commit": "83493db50a434a4c5c648faf41e2ead80f96e478" },
18 "lush.nvim": { "branch": "main", "commit": "2e8d34e748642621d761a65e3c2a198154b914e8" },
18 "lush.nvim": { "branch": "main", "commit": "bc12f010b34cfeefac35720656eb777753b165d9" },
1919 "mason-tool-installer.nvim": { "branch": "main", "commit": "1212fb6082b7177dde17ea65e429e027835aeb40" },
2020 "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
2121 "mini.align": { "branch": "main", "commit": "f845218c5fea89e49074e48270dc5e1b9511a0f9" },
4343 "nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" },
4444 "nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
4545 "nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
46 "nvim-web-devicons": { "branch": "master", "commit": "a851380fbea4c1312d11f13d5cdc86a7a19808dd" },
46 "nvim-web-devicons": { "branch": "master", "commit": "cb0c967c9723a76ccb1be0cc3a9a10e577d2f6ec" },
4747 "nvim-window": { "branch": "main", "commit": "e7f5d60eeec8ff37af7be4c9a99f65edf67fc574" },
4848 "oil.nvim": { "branch": "master", "commit": "32e18df30f937e02135398c270b72a4d24b40120" },
4949 "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },
5050 "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
5151 "plenary.nvim": { "branch": "master", "commit": "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" },
52 "schemastore.nvim": { "branch": "main", "commit": "7efe039d0675f4f1b03f946cc457891d13a6495f" },
52 "schemastore.nvim": { "branch": "main", "commit": "4d798fd5b692c8fce77268aba8f6f926b0c9f835" },
5353 "specs.nvim": { "branch": "main", "commit": "e929006d3f6bb8e43f03e13ac364c67236eb5299" },
5454 "speedtyper.nvim": { "branch": "main", "commit": "2d158eed4c753995b0501a3a7a72464fbb213e3d" },
5555 "ssr.nvim": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" },

nushell/modules/aliases.nu

Modified

+2 / −1 text lines

22export alias show = bat
33export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }
44export alias web = firefox
5export alias edit = nvim
5export alias code = nvim
6export alias edit = nvim --clean
67# TODO ewrite bak command
78export alias backup = bak

tools/cargo-tools.nu

Modified

+10 / −21 text lines

66# is not installed yet
77let cargo_crates = [
88 [ name bin features];
9 [ "wiki-tui" "wiki-tui" [] ]
109 [ "sccache" "sccache" [] ]
1110 [ "inferno" "inferno-flamegraph" [] ]
1211 [ "nu" "nu" [ "--features" "extra" ] ]
2221 [ "cargo-cache" "cargo-cache" [] ]
2322 [ "hexyl" "hexyl" [] ]
2423 [ "hyperfine" "hyperfine" [] ]
25 [ "so" "so" (so-features) ]
2624 [ "tealdeer" "tldr" [] ]
2725 [ "tokei" "tokei" [] ]
2826 [ "bat" "bat" [] ]
3836 [ "lychee" "lychee" [] ]
3937 [ "viu" "viu" [] ]
4038 [ "vivid" "vivid" [] ]
41 [ "licensor" "licensor" [] ]
42 [ "gib" "gib" [] ]
4339 [ "silicon" "silicon" [] ]
4440 [ "bottom" "btm" [] ]
4541 # [ "sic" "sic" [] ] some issue with ssl on win32?
5046 [ "stylua" "stylua" [ "--features" "lua52" ] ]
5147 [ "taplo-cli" "taplo" [] ]
5248 [ "lms" "lms" [] ]
53 [ "coreutils" "coreutils" (coreutils-features) ]
56def coreutils-features [] {
57 if $nu.os-info.family == 'windows' {
58 [ "--features" "windows" ]
59 } else {
60 [ "--features" "unix" ]
61 }
62}
64def so-features [] {
65 if $nu.os-info.family == 'windows' {
66 [ "--no-default-features" "--features" "windows" ]
67 } else {
68 []
69 }
70}
7251# install all my favorite crate, only if they are not already in PATH.
7352def 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 }
7463 $cargo_crates | each { | crate |
7564 if ( which $crate.bin | is-empty ) {
7665 echo $'cargo install ($crate.name) ($crate.features)'