Commit Graph

26 Commits

Author SHA1 Message Date
Yishuai Li
00f28e4a5f
themes/random: add OMB_THEME_RANDOM_IGNORED (#498) 2023-12-11 07:01:54 +09:00
Andrei Bulgakov
117e203d38
Add variable to disable consideration repos with untracked files as dirty (#444)
Add `SCM_GIT_DISABLE_UNTRACKED_DIRTY="true"` setting for
`lib/omb-prompt-base.sh`.

Add this variable as well as `SCM_GIT_IGNORE_UNTRACKED` into the
`.bashrc` template.
2023-06-09 06:17:17 +09:00
Edwin Kofler
5cd1f0eb16 style: Remove trailing whitespace and add missing final newlines 2023-04-16 17:43:09 +09:00
Koichi Murase
aed5238cad lib/shopt: Revert the meaning "OMB_HYPHEN_{IN => }SENSITIVE" 2023-03-03 09:55:20 +09:00
Seth Underwood
d76bd709d0 lib/shopt: Allow CASE_SENSITIVE and HYPHEN_INSENSITIVE to work as documented
Adjusted shopt.sh to use CASE_SENSITIVE and HYPHEN_INSENSITIVE
variables to affect completion.

Note: this changes the old default hyphen insensitive completion
behavior. The user will need to set HYPHEN_INSENSITIVE="true" to have
the old default behavior.
2023-03-03 09:55:20 +09:00
Koichi Murase
5c541b0e69 lib/shopt: Refactor "{ => OMB_}CASE_SENSITIVE" 2023-02-16 10:30:59 +09:00
Koichi Murase
7a54475d48 themes: Specify default OMB_PROMPT_SHOW_PYTHON_VENV for each theme 2023-02-11 23:10:07 +09:00
Askaiant
e3ecc9738c themes/luan: Define python venv as optional
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-11 23:06:43 +09:00
Koichi Murase
f6597af711 tools/install: create "~/.bash_profile" if it doesn't exist 2023-02-05 22:14:03 +09:00
Koichi Murase
d830c75431 lib/history (HIST_STAMPS): do not enclose within [...] by default 2022-09-29 19:35:34 +09:00
Joao Vitorino
8a96cc45c6 lib/history (HIST_STAMPS): Make it work and add color 2022-09-29 19:27:57 +09:00
Koichi Murase
0fe8c0bf0d lib: support OMB_DEFAULT_ALIASES to control the alias overriding 2022-07-03 13:28:58 +09:00
mnlwldr
177864fc5c Added the possibility to have an own .bashrc.local 2022-03-25 17:47:00 +09:00
mnlwldr
4bab69d1cd Added the possibility to have an own .bashrc.local 2022-03-25 17:47:00 +09:00
Koichi Murase
464b738533 aliases/package-manager: Introduce OMB_USE_SUDO and OMB_ALIAS_PACKAGE_MANAGER_SUDO 2022-02-22 18:43:38 +09:00
Koichi Murase
22e6f0b6ec templates/bashrc: Fix quoting 2022-01-13 19:27:42 +09:00
Koichi Murase
97b28a349b templates/bashrc: Load settings only in interactive sessions 2022-01-13 19:27:42 +09:00
Wes Key
cd6500d280 statement about conditional plugins loading
- bashrc.osh-template has been updated to explain how to
  conditionally load plugins
2021-12-24 22:03:05 +09: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
Nathan Ollerenshaw
6addd2b1e3 Only execute oh-my-bash on an interactive shell in .bashrc 2018-05-30 10:34:39 -07:00
Toan Nguyen
6dd590ba8b Fix init shell after installed 2017-11-08 15:52:57 +11:00
Toan Nguyen
40291b9484 Fix init shell after installed 2017-11-08 15:41:25 +11:00
Toan Nguyen
f2f98d7535 Fix init shell after installed 2017-11-08 15:37:34 +11:00
Toan Nguyen
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
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
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00