59f6ef145b
global: Switch the function-declarations to avoid unexpected alias expansions
2023-02-10 00:38:56 +09:00
827277253a
lib/omb-prompt-colors: Rename basic colors
2022-02-01 01:43:32 +09:00
8eb9fec5ed
lib, themes: Resolve conflicting variables
...
"lib" has used the variables "red", "green", "yellow", "blue", and
"purple" for outputting logs to stdout/stderr. On the other hand,
"themes" has used the same variables for including escape sequences in
PS1. These two sets of variables have different values, i.e., the
latter is enclosed by '\[' and '\]' and contains escaped '\e', which
means that there have been variable conflicts. In this commit, more
specific variables are used in these places to resolve the conflicts.
2022-02-01 01:42:52 +09:00
7ed389eafd
themes: Use new color variables
2022-02-01 01:42:50 +09:00
f208b02458
themes/rjorgenson: Reduce forks by using here strings
2022-02-01 01:22:23 +09:00
f953288b17
themes/rjorgenson: Accept empty "OMB_THEME_{BRACKET,STRING}_COLOR" by users
2022-02-01 01:22:23 +09:00
6c0dcf3ce7
themes/rjorgenson: Use globs when checking OS
...
On MacOS the OSTYPE can be `darwin9.0` so we need to check for that
2022-02-01 01:22:23 +09:00
ec42a3c09c
themes/rjorgenson: Remove function keyword
...
Made it more consistent to the rest of the functions in the file
2022-02-01 01:22:23 +09:00
ef9ca87851
themes/rjorgenson: Prefix two vars with OMB_THEME_
...
This will allow us to expose the variables to end user customizations
2022-02-01 01:22:23 +09:00
fa53beee56
themes/rjorgenson: Set variables as local
...
- set variables my_* as local
- set the variable line2 as local
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-01 01:22:23 +09:00
93286597a7
themes/rjorgenson: Refactor rjorgenson theme to reduce subshells
...
- Removed several unnecessary branches
- Improved indentation
- No longer pipes grep output into awk
2022-02-01 01:22:23 +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
3d2b35a3eb
refactor: Replace invalid shebang lines
2022-01-15 15:46:11 +09:00
8780308a4f
themes: Fix wrong usage of command substitutions in conditions
2022-01-08 15:34:05 +09:00
85211c1f76
themes/rjorgenson: Use the POSIX command substitution
2022-01-08 15:34:05 +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
ec1921490f
Themes: screenshots added ( #116 )
...
* [feat] THEMES.md: Add screenshots
What?:
- Add screens for all themes
- Add THEMES.md to showcase all screens
Breaking Changes? None
* fix #114
What?:
- Add screenshots to be added to wiki
Breaking Changes? None
2019-12-31 15:00:02 +07: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