Commit Graph

14 Commits (75297c7cdb3cbc3f4b962222bb24598df88d7ff1)

Author SHA1 Message Date
Kebler Network System Administrator 2ec857b1c2 added add-repo-key function
added skg for killing unowned processes by grep
add 312 network to shell
2021-10-28 12:05:56 -07:00
Kebler Network System Administrator 256186376d refactor cprs (rsync) for ACL and using sudo 2021-02-18 07:31:28 -08:00
Kebler Network System Administrator a21b588d08 added group_add and user_reload to basic functions
switched to acl functions loaded via module load
rysnc add ignore cache
add chmod_dirs to helpers
2021-02-11 18:29:28 -08:00
Kebler Network System Administrator 3656f1420e moved ssh to host repo.
added acl function and alias - still work working on them.
in shell.env allowed module.lib to get loaded for non-interactive shells so that can access modules without all the other stuff of login shell.
prepend /opt/bin and .local/bin so they take precedence.
2021-02-05 13:10:18 -08:00
David Kebler f88453f6ca allowed relative path in path functions even though directory may not exist. 2020-12-26 12:54:47 -08:00
David Kebler 28bce82117 fix globbing problem in _find function 2020-12-26 12:18:27 -08:00
David Kebler 22b3c0cc36 added debug module with debug function - a first cut
load.sh now loads debug module or a noop
file library, file.lib
   - refactored _find function, added alias superceed
       * added h option to include .hidden files
       *
   - added build_file function to append file to another
refactored comment and uncomment functions
added find_mountpoint function to filesystem module
added ssh_config builder function and ssh override to use it.
added github module with binary release fetch function (needs work)
2020-12-03 20:51:14 -08:00
David Kebler ffecdd9501 add non interactive logging in load.sh
can load aliases via env variable
2020-11-27 10:30:37 -08:00
David Kebler 5e45c1f23a refactored script sourcing exludes to .bash-shell-ignore file
refacted load.sh and startup.sh accordingly and also used loop to process the shell repos
switched from export to declare for module.lib
allows multiple network domains to be set in shell.env.  This allows primary and vpn setups
moved docker and language files out of base
added comment functions
2020-11-18 15:32:09 -08:00
David Kebler 0ac5906eee refactor the way the module library is loaded
added startup script callable from profile.d
renamed setup.sh to load.sh
added rsync copy function cprs
added shell.env that is called by /etc/profile to set up access to this  and related repos
2020-11-13 10:25:04 -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 9fb8af9a09 fix grep deprecation, change name to get block to list block, refactor verbosity on module functions 2020-11-07 10:01:17 -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