repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
wezterm/bugabinga/startup.lua
Rawlocal wez = require 'wezterm'
return function ( cfg )
local success, stdout, stderr = wez.run_child_process { 'command', '-v', 'nu' }
if success then
cfg.default_prog = { 'nu', '--login', }
else
wez.log_warn "nu shell not found, falling back to default shell"
end
end