repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: fix win32 issues

b6f4c75d4b46c69c95a30c9daf41c973096ab269

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

unsigned

Browse filesCompare with HEAD

Changed files (5)

NB-00718.symlinks

Modified
23 23 ~/AppData/Roaming/nushell/gen-aliases.nu
25 25 nushell/gen-secrets.nu
26 -~/.config/nushell/gen-secrets.nu
26 +~/AppData/Roaming/nushell/gen-secrets.nu
28 28 bat/config
29 29 ~/AppData/Roaming/bat/config

neovim/init.lua

Modified
44 44 end,
47 --- Safely start MCP socket server, handling cases where socket is already in use
48 -local ok, server_addr = pcall(vim.fn.serverstart, "/run/user/1000/nvim.mcp.sock")
49 -if ok and server_addr ~= "" then
50 - vim.notify("MCP server started on " .. server_addr, vim.log.levels.DEBUG)
51 -elseif ok and server_addr == "" then
52 - vim.notify("MCP socket already in use by another Neovim instance", vim.log.levels.DEBUG)
53 -else
54 - vim.notify("Failed to start MCP server: " .. tostring(server_addr), vim.log.levels.DEBUG)
55 -end
57 47 vim.cmd.colorscheme 'nugu'
59 49 require 'patches'

nushell/gen-aliases.nu

Modified
41 41 aka vide neovide
42 42 aka delta delta '--hyperlinks' '--hyperlinks-file-link-format="file://{path}#{line}"'
43 43 aka rg rg '--hyperlink-format=kitty'
44 -aka fg job unfreeze
44 +if (not $env.WIN32) {
45 + aka fg job unfreeze
46 48 aka userctl systemctl '--user'

wezterm/bugabinga/nugu/init.lua

Modified
62 62 quick_select_match_bg = { Color = palette.ui.unfocus, },
63 63 quick_select_match_fg = { Color = palette.ui.normal, },
64 64 -- Command Palette / Input Selector
65 - input_selector_label_bg = { Color = palette.ui.backdrop },
66 - input_selector_label_fg = { Color = palette.ui.normal },
65 + -- input_selector_label_bg = { Color = palette.ui.backdrop },
66 + -- input_selector_label_fg = { Color = palette.ui.normal },
67 67 -- Launcher
68 - launcher_label_bg = { Color = palette.ui.backdrop },
69 - launcher_label_fg = { Color = palette.ui.normal },
68 + -- launcher_label_bg = { Color = palette.ui.backdrop },
69 + -- launcher_label_fg = { Color = palette.ui.normal },
70 70 tab_bar = {
71 71 -- The color of the strip that goes along the top of the window
72 72 -- (does not apply when fancy tab bar is in use)
73 - background = palette.content.backdrop,
73 + background = palette.content.backdrop,
75 75 -- The active tab is the one that has focus in the window
76 76 active_tab = {
143 -local apply_window_frame = function(cfg, scheme_name)
143 +local apply_window_frame = function ( cfg, scheme_name )
144 144 local palette = (scheme_name == 'nugu-dark') and nugu_dark.palette or nugu_light.palette
145 145 cfg.window_frame = {
146 146 active_titlebar_bg = palette.ui.backdrop,

wezterm/bugabinga/startup.lua

Modified
1 1 local wez = require 'wezterm'
3 3 return function ( cfg )
4 - local success, stdout, stderr = wez.run_child_process { 'command', '-v', 'nu' }
5 - if success then
6 - cfg.default_prog = { 'nu', '--login', }
7 - else
8 - wez.log_warn "nu shell not found, falling back to default shell"
9 - end
4 + cfg.default_prog = { 'nu', '--login', }