Additioin of global OS variable

This commit is contained in:
Eduardo Cueto-Mendoza 2023-08-07 10:04:26 +01:00
parent 35c7a9d291
commit a4e499e7fc
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
require("eddie.keymaps")
require("eddie.options")
local f = io.popen("uname -s")
if (f ~= nil) then
MY_OS = f:read("*a")
f:close()
end
print(MY_OS)