Commit Graph

110 Commits

Author SHA1 Message Date
sawka 717461908a command compgen also needs to detect directories 2022-11-23 10:51:51 -08:00
sawka da2fe25fb8 move to simpleexpand 2022-11-22 22:59:29 -08:00
sawka 01821ca094 allow variable comptype 2022-11-09 20:38:47 -08:00
sawka d86bee87d8 partial word expansion 2022-11-04 12:28:08 -07:00
sawka 4392956f99 replace expand.Literal with safer hand-written version that only expands quoted strings and literals 2022-11-03 23:53:25 -07:00
sawka 76d3c10748 decls equal fn -- must parse associative arrays (order is not consistent in bash output) 2022-11-02 18:41:53 -07:00
sawka ee36078082 parameterize the mshell bin directory (for packaging). inject MSHELL variables for execution 2022-11-01 21:19:42 -07:00
sawka 8939c57dd8 minor, add isempty func for shellstate 2022-10-30 12:52:58 -07:00
sawka 1da450e61c implement reinit, also do not store 'columns' var 2022-10-27 21:59:17 -07:00
sawka e5d2267f27 minor updates to get state to be consistent 2022-10-27 00:34:16 -07:00
sawka 245a1995e2 parse shellvariables with args 2022-10-25 12:31:07 -07:00
sawka 674a6ef11e grab shell vars with export vars 2022-10-24 21:26:39 -07:00
sawka 5d6c77491f add shell parser 2022-10-24 15:35:01 -07:00
sawka d8b5508b77 returnstate option for runpk (for sourcing files) 2022-10-22 14:45:31 -07:00
sawka b9c3940b99 big change to execution, run command as a script and set aliases/funcs 2022-10-16 23:46:59 -07:00
sawka 1c2c8c2f4d return defined bash aliases in initpk 2022-10-15 13:45:52 -07:00
sawka d8e7c915e5 add sshport and batchmode 2022-09-30 17:22:57 -07:00
sawka be1e1dfe90 allow context cancelation of install 2022-09-26 23:23:32 -07:00
sawka ea6b571184 pass context to runinstall for cancelation 2022-09-26 21:10:08 -07:00
sawka b5c67b6260 refactoring for versioned mshell binaries on remotes 2022-09-26 13:02:34 -07:00
sawka 4550e18b6b version string will now be a real semantic version 2022-09-24 13:53:19 -07:00
sawka aa1542cfc0 don't overwrite mshell if no input received on stdin during install 2022-09-21 23:51:16 -07:00
sawka ca61597a19 send uname in initpk. remote space between uname parts 2022-09-21 23:26:53 -07:00
sawka 9702fb648a getsessionsdir 2022-09-20 14:15:39 -07:00
sawka df80d2ac08 allow MakeClientProc to be canceled with a context 2022-09-16 12:27:14 -07:00