Skip to content

Commit ab21c4d

Browse files
committed
Update modules.
1 parent 74ff3f5 commit ab21c4d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
local appname = "hypershell"
2+
local version = "develop"
3+
local appsdir = "/apps/external"
4+
local modroot = pathJoin(appsdir, appname, version)
5+
6+
whatis("Name: HyperShell")
7+
whatis("Version: " .. version)
8+
whatis([[Description:
9+
A cross-platform, high-throughput computing utility for processing
10+
shell commands over a distributed, asynchronous queue.]])
11+
12+
prepend_path("PATH", pathJoin(modroot, "bin"))
13+
prepend_path("MANPATH", pathJoin(modroot, "share", "man"))
14+
prepend_path("HYPERSHELL_PYTHONPATH", pathJoin(modroot, "frozen-python.path"))
15+
16+
if myShellName() == "bash" then
17+
source_sh("bash", pathJoin(modroot, "share", "bash_completion.d", "hs"))
18+
elseif myShellName() == "zsh" then
19+
prepend_path("FPATH", pathJoin(modroot, "share", "zsh", "site-functions"))
20+
execute({ cmd = "autoload -Uz compinit && compinit", modeA = { "load" } })
21+
end

0 commit comments

Comments
 (0)