Additioin of global OS variable
This commit is contained in:
parent
35c7a9d291
commit
a4e499e7fc
|
@ -1,3 +1,10 @@
|
||||||
require("eddie.keymaps")
|
require("eddie.keymaps")
|
||||||
require("eddie.options")
|
require("eddie.options")
|
||||||
|
|
||||||
|
local f = io.popen("uname -s")
|
||||||
|
if (f ~= nil) then
|
||||||
|
MY_OS = f:read("*a")
|
||||||
|
f:close()
|
||||||
|
end
|
||||||
|
|
||||||
|
print(MY_OS)
|
||||||
|
|
Loading…
Reference in New Issue