2023-08-30 09:55:40 +00:00
|
|
|
require('eddie.lazy')
|
|
|
|
require('eddie.remaps')
|
|
|
|
require('eddie.options')
|
2024-04-03 13:08:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
local f = io.popen("uname -s")
|
|
|
|
if (f ~= nil) then
|
|
|
|
MY_OS = f:read("*a")
|
|
|
|
MY_OS = string.gsub(MY_OS, "%s+", "")
|
|
|
|
f:close()
|
|
|
|
end
|
|
|
|
|
2024-05-02 08:48:40 +00:00
|
|
|
--[[
|
2024-04-03 13:08:46 +00:00
|
|
|
if (MY_OS == 'Linux')
|
|
|
|
then
|
|
|
|
print('Should be here if on Linux')
|
|
|
|
elseif (MY_OS == 'FreeBSD') or (MY_OS == 'OpenBSD')
|
|
|
|
then
|
|
|
|
print('Should be here if on BSD')
|
|
|
|
else
|
|
|
|
print('Should never be here')
|
|
|
|
end
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|