code/init
This commit is contained in:
parent
1345f07e16
commit
3dceffeea5
2 changed files with 8 additions and 14 deletions
15
sh/self.sh
15
sh/self.sh
|
@ -14,23 +14,11 @@ rwx_self_help() {
|
|||
" u__… = user"
|
||||
}
|
||||
|
||||
# ╭──────┬──────╮
|
||||
# │ self │ init │
|
||||
# ╰──────┴──────╯
|
||||
|
||||
rwx_self_init() {
|
||||
# run interactive extras
|
||||
if rwx_shell_interactive; then
|
||||
# help
|
||||
rwx_log
|
||||
rwx_self_help
|
||||
fi
|
||||
}
|
||||
|
||||
# ╭──────┬────────╮
|
||||
# │ self │ subset │
|
||||
# ╰──────┴────────╯
|
||||
|
||||
# TODO move to code module
|
||||
rwx_self_subset() {
|
||||
local argument file root
|
||||
for argument in "${@}"; do
|
||||
|
@ -51,6 +39,7 @@ rwx_self_subset() {
|
|||
# │ self │ write │
|
||||
# ╰──────┴───────╯
|
||||
|
||||
# TODO move to code module
|
||||
rwx_self_write() {
|
||||
local target="${1}"
|
||||
if [ -n "${target}" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue