7 lines
176 B
Lua
7 lines
176 B
Lua
local function get_current_shell()
|
|
local shell = os.getenv("SHELL") or "unknown"
|
|
return shell:match("([^/]*)$")
|
|
end
|
|
|
|
return { name = "shell", cmd = get_current_shell }
|