shells_path is now a directory of .shell files

Matches the existing units_path pattern — shells_path points to a
directory that is scanned for .shell files rather than a single
monolithic definitions file.
This commit is contained in:
Chris Punches
2026-03-15 15:36:36 -04:00
parent 879f07ec4b
commit a7eab683e8
6 changed files with 87 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
"project_root": "$HOME/development/internal/rex/sample",
"units_path": "units/",
"logs_path": "logs/",
"shells_path": "shells/shells.definitions",
"shells_path": "shells/",
"config_version": "5"
}
}

View File

@@ -5,12 +5,6 @@
"path": "/usr/bin/bash",
"execution_arg": "-c",
"source_cmd": "source"
},
{
"name": "ksh",
"path": "/usr/bin/ksh",
"execution_arg": "-c",
"source_cmd": "source"
}
]
}

10
sample/shells/ksh.shell Normal file
View File

@@ -0,0 +1,10 @@
{
"shells": [
{
"name": "ksh",
"path": "/usr/bin/ksh",
"execution_arg": "-c",
"source_cmd": "source"
}
]
}