dotfiles
bugabingas dorkfiles
owned by bugabinga
Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
cc1fee7a1e89c54c4108f9b3c2113c1e1c92498d
Oliver Jan Krylow <olver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (11)
PC-00625.symlinks
Modified+1 / −1 text lines
20 20 ~/AppData/Roaming/Subversion/config
23 +~/scoop/persist/rustup/.cargo/config.toml
25 25 indexa/config.windows.toml
26 26 ~/AppData/Roaming/indexa/config.toml
helix/config.toml
Modified+15 / −2 text lines
21 +gutters = [
"line-numbers",
"diagnostics",
"spacer" ]
25 +left = [
"mode",
"spacer",
"selections",
"position",
"separator",
"position-percentage"]
26 +center = [
"file-name",
"separator",
"file-encoding",
"file-line-ending",
"file-type"]
27 +right = [
"diagnostics",
"spacer",
"spinner"]
21 31 display-messages =
true 36 46 [
editor.
whitespace.
characters]
helix/themes/nugu.toml
Modified+3 / −3 text lines
46 46 "ui.cursor" = {
bg =
"ui_cursor" }
47 47 "ui.cursor.primary" = {
fg =
"important_global",
bg =
"ui_cursor" }
48 -"ui.cursor.insert" = {
bg =
"debug" }
49 -"ui.cursor.select" = {
fg =
"debug",
bg =
"debug" }
48 +"ui.cursor.insert" = {
bg =
"accent" }
49 +"ui.cursor.select" = {
fg =
"accent",
bg =
"accent" }
50 50 "ui.cursor.match" = {
fg =
"important_global",
modifiers = [
"slow_blink"] }
52 52 "ui.selection" = {
fg =
"minor",
bg =
"ui_minor" }
80 80 "ui.highlight" = {
bg =
"ui_cursor" }
82 82 "ui.virtual.ruler" = {
bg =
"ui_backdrop" }
83 -"ui.virtual.whitespace" = {
fg =
"minor",
modifiers = [
"dim"] }
83 +"ui.virtual.whitespace" = {
fg =
"minor_backdrop" }
85 85 "diagnostic" = {
fg =
"ui_normal",
modifiers = [
"underlined"] }
neovim/lua/bugabinga/treesitter.lua
Modified+2 / −2 text lines
11 11 } (
function(install, configs, parsers, hlargs, neogen)
12 - install.compilers
= {
'zig cc',
'clang',
'gcc',
'cl',
'cc', vim.fn.getenv
'CC' }
13 - install.prefer_git
= true 12 + install.compilers
= {
'zig',
'clang',
'gcc',
'cl',
'cc', vim.fn.getenv
'CC' }
nushell/config.nu
Modified+1 / −0 text lines
70 71 filesize_metric: false
72 73 use_ls_colors: true
+0 / −7 text lines
5 5 let-env DOTFILES = (
$env.NURC_DIR | path join
".." | path expand )
6 6 let-env WORKSPACE =
if $env.WIN32? {
"W:/" }
else {
"~/Workspace" | path expand }
7 7 let-env NOTES =
if $env.WIN32? {
"N:/" }
else {
"~/Notes" | path expand }
8 -let-env CARGO_HOME = (
"~/.cargo" | path expand )
11 10 let-env LS_COLORS = (vivid generate nord)
30 29 (
$nu.config-path | path dirname | path join
'modules'),
31 30 (
$nu.config-path | path dirname | path join
'completions')
35 -let-env NU_PLUGIN_DIRS = [
36 - (
$nu.config-path | path dirname | path join
'plugins'),
37 - (
$env.CARGO_HOME | path join
'bin'),
nushell/modules/prompt.nu
Modified+3 / −3 text lines
24 24 let pwd = (
$env.PWD | path expand)
25 25 let z_jump = (
do --ignore-errors { zoxide query --exclude
$pwd --
$rest } )
27 - if (
$z_jump | empty?) {
27 + if (
$z_jump | is-empty) {
29 29 msg:
"Zoxide could not find any match for the given query.",
63 63 def set-window-title [] {
65 65 let pwd = (
$env.PWD | path expand )
66 - let icon =
if (icons | any? path ==
$pwd) { ( icons |
where path ==
$pwd | get icon.
0 ) }
else { $
"(char nf_folder1)" }
66 + let icon =
if (icons | any path ==
$pwd) { ( icons |
where path ==
$pwd | get icon.
0 ) }
else { $
"(char nf_folder1)" }
68 - if (env | any? name == TERM_PROGRAM) &&
$env.TERM_PROGRAM == WezTerm {
68 + if (env | any name == TERM_PROGRAM) &&
$env.TERM_PROGRAM == WezTerm {
69 69 echo ([ (ansi title)
$icon " " (
$pwd | path basename ) (ansi reset) ] | str collect)
nushell/modules/table.nu
Modified+1 / −1 text lines
3 3 export def "has-column?" [
6 - transpose | any? Column0 ==
$name 6 + transpose | any Column0 ==
$name tools/cargo-tools.nu
Modified+15 / −11 text lines
8 8 [ name bin features];
9 9 [
"sccache" "sccache" [] ]
10 - [
"inferno" "inferno" [] ]
10 + [
"inferno" "inferno-flamegraph" [] ]
11 11 [
"nu" "nu" [
"--features" "extra" ] ]
13 13 [
"ouch" "ouch" [] ]
35 35 [
"lychee" "lychee" [] ]
37 + [
"vivid" "vivid" [] ]
37 38 [
"licensor" "licensor" [] ]
39 40 [
"silicon" "silicon" [] ]
67 68 def install-helix-editor [] {
69 - if (
$env.WORKSPACE | path join
"helix/.git" | path exists ) {
70 + if ( not (
$env.WORKSPACE | path join
"helix/.git" | path exists) ) {
72 71 git clone https://github.com/helix-editor/helix
75 - cargo install --locked --path helix-term
76 - hx --grammar fetch | ignore
77 - hx --grammar build | ignore
76 + if (not ((git rev-parse HEAD) == (git rev-parse @{u}))) {
78 + cargo +stable-msvc install --path helix-term --profile opt
79 + hx --grammar fetch | ignore
80 + hx --grammar build | ignore
82 86 $cargo_crates |
each { | crate |
83 - if ( which
$crate.bin | empty? ) {
84 - echo $
'cargo install --locked ($crate.name) ($crate.features)' 85 - cargo install --locked
$crate.name $crate.features 87 + if ( which
$crate.bin | is-empty ) {
88 + echo $
'cargo install ($crate.name) ($crate.features)' 89 + cargo install
$crate.name $crate.features 87 91 echo $
"($crate.name) already installed" topgrade/topgrade.windows.toml
Modified+3 / −2 text lines
2 +disable = [
"wsl",
"vim"]
40 -"01 - Winget Backup" =
"winget export --source winget 'D:/Tools/winget_installed_apps.json' *> $null" 40 +"01 - Scoop Export" =
"scoop export --config > 'X:/scoop_installed_apps.json' *> $null" 43 43 "00 - Refresh dotfiles" =
"java W:/dotfiles/bootstripper.java W:/dotfiles" 44 44 "01 - Install Cargo Tools" =
"nu --env-config ~/AppData/Roaming/nushell/env.nu W:/dotfiles/tools/cargo-tools.nu" 45 45 "02 - Advantage-PM Client" =
"nu X:/update_apm_client.nu" 46 46 "03 - MeMate" =
"nu X:/update_memate.nu" 47 +"04 - TLDR" =
"tldr --update" wezterm/wezterm.lua
Modified+3 / −2 text lines
8 8 local enable_wayland
= false 9 9 local window_decorations
= 'RESIZE' 10 10 local font_size
= 11.0 11 -local font
= wez.font(
'BlexMono Nerd Font', {
weight =
'Regular',
stretch =
'Condensed' })
11 +local font
= wez.font(
'IBM Plex Mono')
13 13 if hostname
== 'x230' then 14 14 enable_wayland
= true 16 16 elseif hostname
== 'pop-os' then
18 18 elseif hostname
== 'PC-00625' then
20 + font
= wez.font(
'Cascadia Mono')
20 21 window_decorations
= 'TITLE|RESIZE'