69 Commits

Author SHA1 Message Date
5708cfd704 lib/utils: Code quality improvement (#103)
Fixed by suggestion 
https://github.com/ohmybash/oh-my-bash/issues/68#issuecomment-523238232

Bug: https://github.com/ohmybash/oh-my-bash/issues/68
2020-02-17 13:46:57 +11:00
27b55d1ea3 lib/theme-and-appearance: Remove using of the alias command in theme and appearance. (#107)
Setting the color is ok, but the alias should be set on another place.

Refs #106
2020-02-17 13:45:49 +11:00
a0ed0675e7 Fixed typeset +m is a zsh specific feature (#49) 2019-05-09 23:28:49 +07: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
6dd590ba8b Fix init shell after installed 2017-11-08 15:52:57 +11:00
b85f75f798 Fix few issues & improve framework functionality
- Fixed LSCOLORS from theme-and-appearance.sh
- Fixed ii() command in core plugin
- Stop using .bashrc as Oh-My-Bash profile, use .bash_profile instead
- Automate backport new version for old version users
- Added .editorconfig for future contribution
2017-11-08 15:25:22 +11:00
e65c390bfa Improve oh-my-bash functionality
* Implement aliases, completion in oh-my-bash
 * Added default themes from Bash-it
 * Fixed few issues
2017-10-10 18:07:01 +07:00
85ae3414c6 Fix typo 2017-03-20 20:21:32 +07:00
36e0f88e34 Fix issues with grep and misc 2017-03-20 20:20:17 +07: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
fc9c567fec Fix history handler and git plugin 2017-03-19 17:13:00 +07:00
83097d10c5 Temporarily disable grep.sh 2017-03-19 16:32:17 +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
4c689c2a48 Temporarily disable git_compare_version 2017-03-19 16:09:13 +07:00
11674c0e55 Remove zsh shell built-in functions 2017-03-19 16:06:08 +07:00
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00