19 Commits

Author SHA1 Message Date
9788583d4e refactor(omb-deprecate): Rename "_omb_{util_defun_deprecate => deprecate_function}" 2022-02-01 01:30:06 +09:00
7dce520857 oh-my-bash: support OMB_VERSION and OMB_VERSINFO 2022-01-19 15:50:18 +09:00
59a0beee7c oh-my-bash: Check Bash version on startup 2022-01-19 15:48:54 +09:00
16712a41c5 tools/upgrade: Enable upgrading/(un)installing in the interactive shell process 2022-01-15 19:15:09 +09:00
7f420263b2 themes: Make PROMPT_COMMAND usage consistent for reloading OMB 2022-01-15 19:14:30 +09:00
c3bcc5c6d2 refactor: Normalize shebang of scripts to source 2022-01-15 19:00:35 +09:00
088eee2abd lib/utils: Correctly restore shopt states in Bash < 4.1 2022-01-15 18:31:49 +09:00
e84ace339b lib/utils: Rename logging functions 2022-01-08 15:31:43 +09:00
7844f96ed6 oh-my-bash: Manage dependencies by "_omb_module_require" 2022-01-01 07:40:35 +09:00
a3b8e5fdbf lib/utils: move and refactor "safe_append_prompt_command => _omb_util_append_prompt_command" 2021-12-28 09:21:17 +09:00
50d024358a lib/utils: Support termcap names for "tput" 2021-12-28 08:53:41 +09:00
d6100b81fc lib/utils: Refactor 2021-12-28 08:53:41 +09:00
56c72b87fa lib/utils: refactor "{type => _omb_util_command}_exists" 2021-12-28 08:33:07 +09:00
f22cba2905 lib/utils (type_exists): Include functions when searching for a command 2021-12-28 08:28:55 +09:00
77e5874e62 themes/base: Refactor prompt strings for python envs 2021-12-27 23:53:16 +09:00
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
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
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
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00