21 Commits

Author SHA1 Message Date
e21cebd52b oh-my-bash: Load "lib/*.bash" 2022-01-15 18:21:06 +09:00
838be93430 oh-my-bash: Update require_module error messages 2022-01-13 19:35:01 +09:00
e5e3048a06 Revert "oh-my-bash: Show warning and fail for non-interactive shells"
This reverts commit 31f095f3ac7d9a6725b6646c35b131614833067f.
2022-01-12 23:40:46 +09:00
b05f53558b oh-my-bash: Quote parameter expansions properly 2022-01-08 15:34:05 +09:00
31f095f3ac oh-my-bash: Show warning and fail for non-interactive shells
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-01-08 15:34:05 +09:00
2c20b7bdb6 oh-my-bash: Fix varname "OSH_{CUSOM => CUSTOM}"
Co-authored-by: Rex Roof <github@rexroof.com>
2022-01-05 23:14:40 +09:00
47dc24d749 oh-my-bash: Disable word splitting for plugin/alias/completion names 2022-01-05 19:29:58 +09:00
028d253739 oh-my-bash: Fix the search path for plugins and aliases 2022-01-05 16:11:18 +09:00
7844f96ed6 oh-my-bash: Manage dependencies by "_omb_module_require" 2022-01-01 07:40:35 +09:00
ff9dd81628 oh-my-bash: Remove ineffective "fpath" initialization
"fpath" array is the feature of Zsh, to which there are no equivalent
in Bash.  Also, the current initialization code for "fpath" is broken;
$fpath is not expanded to the array elements but to the 0-th element
in Bash, so that only the last two paths are retained in the "fpath"
array.  Actually, oh-my-bash currently does not have any "fpath"
functions, so we can just safely remove the initialization code for
"fpath".

In case that some external scripts use the existing functions for
"fpath" initialization, we move the functions to
"lib/omb-deprecated.sh".
2022-01-01 07:40:35 +09:00
56c72b87fa lib/utils: refactor "{type => _omb_util_command}_exists" 2021-12-28 08:33:07 +09:00
7ddf334013 oh-my-bash.sh: fix reading of custom/lib files 2021-12-26 05:56:40 +09:00
429ffc1cbc oh-my-bash.sh : Fix for #70 #59 (#71)
* oh-my-bash.sh : Fix for #70

* Future proofing

* Fixed symlink for agnoster-bash.theme.sh

* Reaction on https://github.com/ohmybash/oh-my-bash/pull/71#discussion_r307617303
2019-07-31 16:13:08 +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
b8f616f0e0 Fixes issue #29 (#30) 2018-08-13 16:29:56 +10:00
e66772ba24 Fix to check bash version before install (#28)
* Fix to check bash version before install

* Fix for non-zero exit status
2018-08-13 16:29:04 +10: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
ea1c9371e1 Added shebash line and fix some issues 2017-03-20 19:51:00 +07:00
28ff5623b5 Fix autoload problem which getting plugins 2017-03-19 16:39:54 +07:00
a23924a10f Fix autoload .sh file in custom directory 2017-03-19 16:17:21 +07:00
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00