fix: point tmux to nix config

This commit is contained in:
Barrett Ruth 2026-02-11 12:35:09 -05:00
parent cdd750ab8c
commit 4dda15d953
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
4 changed files with 1 additions and 20 deletions

View file

@ -2,18 +2,6 @@ local o, opt = vim.o, vim.opt
o.autowrite = true
local f, background = io.open(vim.env.HOME .. '/.zshenv', 'r'), 'light'
if f then
local content = f:read('*a')
f:close()
local theme = content:match('export THEME=(%S+)')
background = theme
elseif vim.env.THEME then
background = vim.env.THEME
end
o.background = background == 'daylight' and 'light' or 'dark'
o.breakindent = true
o.cursorline = true