Commit Graph

33 Commits

Author SHA1 Message Date
Yishuai Li
00f28e4a5f
themes/random: add OMB_THEME_RANDOM_IGNORED (#498) 2023-12-11 07:01:54 +09:00
Koichi Murase
23e310887f oh-my-bash: Fix coding style 2023-10-14 17:20:57 +09:00
Koichi Murase
a73a91ab20 oh-my-bash: Fix dependency resolution of "_omb_module_require" 2023-10-14 17:20:56 +09:00
Edwin Kofler
80b4974044
fix: Small syntax improvements (#424) 2023-04-02 03:02:29 +09:00
Koichi Murase
59f6ef145b global: Switch the function-declarations to avoid unexpected alias expansions 2023-02-10 00:38:56 +09:00
Koichi Murase
2df8a256f1 tools/install: support "--prefix" for the system-wide installation 2022-07-04 14:06:10 +09:00
Koichi Murase
8451bfabd8 oh-my-bash: support OMB_THEME_RANDOM_SELECTED for the selected theme name 2022-03-25 11:51:33 +09:00
Koichi Murase
d0e61d2261 lib/omb-prompt-*: Adjust conflicts and dependencies 2022-02-01 01:30:06 +09:00
Koichi Murase
a0db119be6 themes: Move "themes/{colours,base}.theme.sh => lib/omp-prompt-{colors,base}.sh" 2022-02-01 01:30:06 +09:00
Koichi Murase
7dce520857 oh-my-bash: support OMB_VERSION and OMB_VERSINFO 2022-01-19 15:50:18 +09:00
Koichi Murase
59a0beee7c oh-my-bash: Check Bash version on startup 2022-01-19 15:48:54 +09:00
Koichi Murase
16712a41c5 tools/upgrade: Enable upgrading/(un)installing in the interactive shell process 2022-01-15 19:15:09 +09:00
Koichi Murase
e21cebd52b oh-my-bash: Load "lib/*.bash" 2022-01-15 18:21:06 +09:00
Koichi Murase
838be93430 oh-my-bash: Update require_module error messages 2022-01-13 19:35:01 +09:00
Koichi Murase
e5e3048a06 Revert "oh-my-bash: Show warning and fail for non-interactive shells"
This reverts commit 31f095f3ac.
2022-01-12 23:40:46 +09:00
Jacob Hrbek
b05f53558b oh-my-bash: Quote parameter expansions properly 2022-01-08 15:34:05 +09:00
Jacob Hrbek
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
Koichi Murase
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
Koichi Murase
47dc24d749 oh-my-bash: Disable word splitting for plugin/alias/completion names 2022-01-05 19:29:58 +09:00
Koichi Murase
028d253739 oh-my-bash: Fix the search path for plugins and aliases 2022-01-05 16:11:18 +09:00
Koichi Murase
7844f96ed6 oh-my-bash: Manage dependencies by "_omb_module_require" 2022-01-01 07:40:35 +09:00
Koichi Murase
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
Koichi Murase
56c72b87fa lib/utils: refactor "{type => _omb_util_command}_exists" 2021-12-28 08:33:07 +09:00
Reuben Thomas
7ddf334013 oh-my-bash.sh: fix reading of custom/lib files 2021-12-26 05:56:40 +09:00
Kreyren
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
Toan Nguyen
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
Rubén Bonilla Martínez
b8f616f0e0 Fixes issue #29 (#30) 2018-08-13 16:29:56 +10:00
Nataraj Basappa
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
Toan Nguyen
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
Toan Nguyen
ea1c9371e1 Added shebash line and fix some issues 2017-03-20 19:51:00 +07:00
Toan Nguyen
28ff5623b5 Fix autoload problem which getting plugins 2017-03-19 16:39:54 +07:00
Toan Nguyen
a23924a10f Fix autoload .sh file in custom directory 2017-03-19 16:17:21 +07:00
Toan Nguyen
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00