14 Commits

Author SHA1 Message Date
a2944b91d8 lib/spectrum: fix up ed5a250 2022-04-21 20:59:02 +09:00
ed5a250baa lib/spectrum: add workaround for global associative arrays in bash-4.0..4.1 2022-04-21 10:14:58 +09:00
827277253a lib/omb-prompt-colors: Rename basic colors 2022-02-01 01:43:32 +09:00
411cdd05ce lib/omb-deprecate: Highlight deprecate messages 2022-02-01 01:42:52 +09:00
f9ccb2cb12 lib/spectrum: Fix a bug that "spectrum_{ls,bls}" does not work 2022-02-01 01:42:52 +09:00
7ed389eafd themes: Use new color variables 2022-02-01 01:42:50 +09:00
c3bcc5c6d2 refactor: Normalize shebang of scripts to source 2022-01-15 19:00:35 +09:00
53fb803740 OMB - Major Refactor (#39)
* OMB - Major Refactor

- Aliases and completions now works like plugins (need to enabled in .bashrc)
- Removed the compatible check in spectrum.sh, OMB now works with Bash v3.x like the old days.
- Removed core plugin, added those bash functions into base.sh and load during startup.
- Updated OSH template for new installations
- Added history config and few other stuff from #17

@TODO: Added a shell script to update old version of .bashrc to new one.

* Fixed ShellCheck issues

* Fixed ShellCheck issues
2019-01-23 03:05:32 -08:00
260144e2a0 Fix spectrum.sh
Since spectrum.sh was copied from zsh, the typeset -A used is zsh specific and in bash4, it is declare -A. I've fixed it and I've added a check to error out with a readable message, in red color, to tell the user to upgrade bash.
2018-03-05 19:41:30 -08:00
a9f9eaf51f Fix issues with grep and spectrum 2017-03-20 20:18:10 +07:00
ea1c9371e1 Added shebash line and fix some issues 2017-03-20 19:51:00 +07:00
a23924a10f Fix autoload .sh file in custom directory 2017-03-19 16:17:21 +07:00
5ad4621868 Fix typeset in spectrum.sh 2017-03-19 16:12:12 +07:00
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00