dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide Merge branch 'trunk' of https://github.com/bugabinga/dotfiles into trunk
07febe59bcbca58dbfe32ead746c31fab74474fc
Oliver Jan Krylow <oliver@bugabinga.net > · 17 Mar 2024
unsigned
Browse files Compare with HEAD
Changed files (4) Diff layout Auto Unified Split
cargo/config.toml Modified +1 / −1 text lines
14 14 [target .x86_64-unknown-linux-gnu ][target .x86_64-unknown-linux-gnu ]16 16 linker = "clang" linker = "clang" 17 - rustflags = ["-C" , "link-arg=--ld-path=/usr/bin/ mold" ]17 + rustflags = ["-C" , "link-arg=--ld-path=mold" ]neovim/lazy-lock.json Modified +3 / −3 text lines
15 15 "hyper.nvim" : { "branch" : "main" , "commit" : "b84fb39e703b1dd487d20c4faf028ee51374c88b" }, "hyper.nvim" : { "branch" : "main" , "commit" : "b84fb39e703b1dd487d20c4faf028ee51374c88b" },16 16 "indent-blankline.nvim" : { "branch" : "master" , "commit" : "821a7acd88587d966f7e464b0b3031dfe7f5680c" }, "indent-blankline.nvim" : { "branch" : "master" , "commit" : "821a7acd88587d966f7e464b0b3031dfe7f5680c" },17 17 "lazy.nvim" : { "branch" : "main" , "commit" : "83493db50a434a4c5c648faf41e2ead80f96e478" }, "lazy.nvim" : { "branch" : "main" , "commit" : "83493db50a434a4c5c648faf41e2ead80f96e478" },18 - "lush.nvim" : { "branch" : "main" , "commit" : "2e8d34e748642621d761a65e3c2a198154b914e8" },18 + "lush.nvim" : { "branch" : "main" , "commit" : "bc12f010b34cfeefac35720656eb777753b165d9" },19 19 "mason-tool-installer.nvim" : { "branch" : "main" , "commit" : "1212fb6082b7177dde17ea65e429e027835aeb40" }, "mason-tool-installer.nvim" : { "branch" : "main" , "commit" : "1212fb6082b7177dde17ea65e429e027835aeb40" },20 20 "mason.nvim" : { "branch" : "main" , "commit" : "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mason.nvim" : { "branch" : "main" , "commit" : "c43eeb5614a09dc17c03a7fb49de2e05de203924" },21 21 "mini.align" : { "branch" : "main" , "commit" : "f845218c5fea89e49074e48270dc5e1b9511a0f9" }, "mini.align" : { "branch" : "main" , "commit" : "f845218c5fea89e49074e48270dc5e1b9511a0f9" },43 43 "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" }, "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" },44 44 "nvim-ts-autotag" : { "branch" : "main" , "commit" : "531f48334c422222aebc888fd36e7d109cb354cd" }, "nvim-ts-autotag" : { "branch" : "main" , "commit" : "531f48334c422222aebc888fd36e7d109cb354cd" },45 45 "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" }, "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },46 - "nvim-web-devicons" : { "branch" : "master" , "commit" : "a851380fbea4c1312d11f13d5cdc86a7a19808dd" },46 + "nvim-web-devicons" : { "branch" : "master" , "commit" : "cb0c967c9723a76ccb1be0cc3a9a10e577d2f6ec" },47 47 "nvim-window" : { "branch" : "main" , "commit" : "e7f5d60eeec8ff37af7be4c9a99f65edf67fc574" }, "nvim-window" : { "branch" : "main" , "commit" : "e7f5d60eeec8ff37af7be4c9a99f65edf67fc574" },48 48 "oil.nvim" : { "branch" : "master" , "commit" : "32e18df30f937e02135398c270b72a4d24b40120" }, "oil.nvim" : { "branch" : "master" , "commit" : "32e18df30f937e02135398c270b72a4d24b40120" },49 49 "persistence.nvim" : { "branch" : "main" , "commit" : "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, "persistence.nvim" : { "branch" : "main" , "commit" : "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },50 50 "playground" : { "branch" : "master" , "commit" : "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, "playground" : { "branch" : "master" , "commit" : "ba48c6a62a280eefb7c85725b0915e021a1a0749" },51 51 "plenary.nvim" : { "branch" : "master" , "commit" : "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" }, "plenary.nvim" : { "branch" : "master" , "commit" : "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" },52 - "schemastore.nvim" : { "branch" : "main" , "commit" : "7efe039d0675f4f1b03f946cc457891d13a6495f" },52 + "schemastore.nvim" : { "branch" : "main" , "commit" : "4d798fd5b692c8fce77268aba8f6f926b0c9f835" },53 53 "specs.nvim" : { "branch" : "main" , "commit" : "e929006d3f6bb8e43f03e13ac364c67236eb5299" }, "specs.nvim" : { "branch" : "main" , "commit" : "e929006d3f6bb8e43f03e13ac364c67236eb5299" },54 54 "speedtyper.nvim" : { "branch" : "main" , "commit" : "2d158eed4c753995b0501a3a7a72464fbb213e3d" }, "speedtyper.nvim" : { "branch" : "main" , "commit" : "2d158eed4c753995b0501a3a7a72464fbb213e3d" },55 55 "ssr.nvim" : { "branch" : "main" , "commit" : "bb323ba621ac647b4ac5638b47666e3ef3c279e1" }, "ssr.nvim" : { "branch" : "main" , "commit" : "bb323ba621ac647b4ac5638b47666e3ef3c279e1" },nushell/modules/aliases.nu Modified +2 / −1 text lines
2 2 export alias show = bat
export alias show = bat
3 3 export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }
export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }
4 4 export alias web = firefox
export alias web = firefox
5 - export alias edit = nvim
5 + export alias code = nvim
6 + export alias edit = nvim --clean
7 8 export alias backup = bak
export alias backup = bak
tools/cargo-tools.nu Modified +10 / −21 text lines
7 7 let cargo_crates = [let cargo_crates = [8 8 [ name bin features]; [ name bin features];9 - [ "wiki-tui" "wiki-tui" [] ]
10 9 [ "sccache" "sccache" [] ] [ "sccache" "sccache" [] ]11 10 [ "inferno" "inferno-flamegraph" [] ] [ "inferno" "inferno-flamegraph" [] ]12 11 [ "nu" "nu" [ "--features" "extra" ] ] [ "nu" "nu" [ "--features" "extra" ] ]22 21 [ "cargo-cache" "cargo-cache" [] ] [ "cargo-cache" "cargo-cache" [] ]23 22 [ "hexyl" "hexyl" [] ] [ "hexyl" "hexyl" [] ]24 23 [ "hyperfine" "hyperfine" [] ] [ "hyperfine" "hyperfine" [] ]25 - [ "so" "so" (so-features) ]
26 24 [ "tealdeer" "tldr" [] ] [ "tealdeer" "tldr" [] ]27 25 [ "tokei" "tokei" [] ] [ "tokei" "tokei" [] ]28 26 [ "bat" "bat" [] ] [ "bat" "bat" [] ]38 36 [ "lychee" "lychee" [] ] [ "lychee" "lychee" [] ]39 37 [ "viu" "viu" [] ] [ "viu" "viu" [] ]40 38 [ "vivid" "vivid" [] ] [ "vivid" "vivid" [] ]41 - [ "licensor" "licensor" [] ]
43 39 [ "silicon" "silicon" [] ] [ "silicon" "silicon" [] ]44 40 [ "bottom" "btm" [] ] [ "bottom" "btm" [] ]50 46 [ "stylua" "stylua" [ "--features" "lua52" ] ] [ "stylua" "stylua" [ "--features" "lua52" ] ]51 47 [ "taplo-cli" "taplo" [] ] [ "taplo-cli" "taplo" [] ]52 48 [ "lms" "lms" [] ] [ "lms" "lms" [] ]53 - [ "coreutils" "coreutils" (coreutils-features) ]
56 - def coreutils-features [] {57 - if $nu.os-info.family == 'windows' {58 - [ "--features" "windows" ]60 - [ "--features" "unix" ]65 - if $nu.os-info.family == 'windows' {66 - [ "--no-default-features" "--features" "windows" ]
73 52 def main [] {def main [] {
54 + if (sys).host.name == "NixOS" {56 + if (which akku | is-empty) {57 + echo $'cargo install akku' 58 + cargo install --git https://github.com/bugabinga/akku60 + echo $"akku already installed" 74 63 $cargo_crates | each { | crate | $cargo_crates | each { | crate |75 64 if ( which $crate.bin | is-empty ) { if ( which $crate.bin | is-empty ) {76 65 echo $'cargo install ($crate.name) ($crate.features)' echo $'cargo install ($crate.name) ($crate.features)'