Commit Graph

8 Commits (master)

Author SHA1 Message Date
David Kebler b7b2d7061a improve module base - use stderr for error messages
helpers: added mkrfilename for making random file names instead of using mktemp
         remote_arg function escapes spaces within an arugment(s) for use passing remotely
2024-02-21 11:11:07 -08:00
Kebler Network System Administrator bf62d67339 refactor shell environmnet so user can have create customized shell.env
refactor default loading of networks
2022-12-30 09:18:39 -08:00
Kebler Network System Administrator 9988dd1ed1 feat: clean up shell.env, improved comments, added in BAHS_SHELL_DEV repo /opt/shell default
feat: add ability to follow link -L when finding modules.  Make is easier to have things loaded and still available for non-interactive shells via module_load
feat: profile,  better comments, refactored to have safe mode where no shell is loaded
2022-03-01 22:45:40 -08:00
Kebler Network System Administrator ec601fbb15 fix: change back to just 'shell' not .shell for user default shell directory as . is ignored by default,
feat: added 'user_exists' function
2021-12-31 17:38:58 -08:00
Kebler Network System Administrator a15a290328 set default user subdirectory to .shell
get BASH_SHELL_BASE in both profile and bash.bashrc
2021-12-29 21:09:36 -08:00
David Kebler e25e44a98d added setup directory with set of user and system source files that can be copied in new machine
changed setup.sh to load.sh
startup only loads system repos by default and allows passing directory argument
2020-11-10 14:09:08 -08:00
David Kebler 189ba95076 add modules function to find and load modules
refactored functions_list to assist with finding functions within a script file
refactored prompt PS1 setup and added colors variables
added block module to base which will write and edit a block of lines to any text file
improve setup.sh, now can be reused for other shell repos to default source
2020-11-06 14:24:10 -08:00
David Kebler 8d8ade7810 Initial commit of new shell sourcing system - base directory 2020-11-03 12:07:49 -08:00