Jean-Sébastien Hedde
20fa827b89
completions/git: Move the upstream git-completion to subdir "tools"
2022-02-05 13:17:02 +09:00
Jean-Sébastien Hedde
524708823f
completions/git: Bump to v2.34.1
...
wget https://raw.githubusercontent.com/git/git/v2.34.1/contrib/completion/git-completion.bash --output-document=completions/git.completion.sh
2022-02-05 13:16:35 +09:00
Koichi Murase
8797ea3c2f
themes: change black foregrounds to gray for dark terminals
2022-02-05 11:43:33 +09:00
Koichi Murase
5e9c2d99f0
tools/install: Update the error message for the Bash version
2022-02-04 20:27:06 +09:00
Koichi Murase
985edbc7c1
Merge pull request #262 from einwickler/rana-frozen-hist
...
rana: Fixing #248
2022-02-01 20:14:06 +09:00
Koichi Murase
d1171d3b5d
themes/rana: Refactor
2022-02-01 20:08:07 +09:00
Koichi Murase
b12f315a06
themes/rana: Normalize indentation
2022-02-01 20:04:15 +09:00
Koichi Murase
7ed2896ab8
themes/rana: Use omb color variables
2022-02-01 20:04:15 +09:00
einwickler
deff47b6b3
themes/rana: Fix the cursor position issue by bare ANSI sequences ( Fix #248 )
2022-02-01 20:03:16 +09:00
Koichi Murase
46818bec17
themes/modern-t: Print information on the command "t" when it's not found
2022-02-01 19:11:06 +09:00
Koichi Murase
5a601cc8d7
Merge pull request #297 from akinomyoga/color
...
Resolve variable name conflicts in `lib/utils.sh` and `themes/colours.theme.sh`
2022-02-01 01:46:29 +09:00
Koichi Murase
973a8bdf30
lib/{utils,omb-prompt-colors}: Support bright color names
2022-02-01 01:43:34 +09:00
Koichi Murase
827277253a
lib/omb-prompt-colors: Rename basic colors
2022-02-01 01:43:32 +09:00
Koichi Murase
411cdd05ce
lib/omb-deprecate: Highlight deprecate messages
2022-02-01 01:42:52 +09:00
Koichi Murase
d76093a3df
plugins/bashmarks: Use global color variables
2022-02-01 01:42:52 +09:00
Koichi Murase
f9ccb2cb12
lib/spectrum: Fix a bug that "spectrum_{ls,bls}" does not work
2022-02-01 01:42:52 +09:00
Koichi Murase
27f82bbbad
lib/spinner: Update example
2022-02-01 01:42:52 +09:00
Koichi Murase
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
Koichi Murase
7ed389eafd
themes: Use new color variables
2022-02-01 01:42:50 +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
f51f2f455d
themes/colours: Refactor "color" and "echo_color"
2022-02-01 01:30:06 +09:00
Koichi Murase
ee9eb7659e
lib/utils, themes: Deprecate color variables
2022-02-01 01:30:06 +09:00
Koichi Murase
7c7e276a6e
lib/omb-deprecate: Add functions to declare deprecated variables
2022-02-01 01:30:06 +09:00
Koichi Murase
9788583d4e
refactor(omb-deprecate): Rename "_omb_{util_defun_deprecate => deprecate_function}"
2022-02-01 01:30:06 +09:00
Koichi Murase
e2820dfdd8
Merge pull request #300 from JamesMConroy/rjorgenson-refactor
...
Refactored rjorgenson theme to reduce subshells
2022-02-01 01:24:32 +09:00
Koichi Murase
f208b02458
themes/rjorgenson: Reduce forks by using here strings
2022-02-01 01:22:23 +09:00
Koichi Murase
f953288b17
themes/rjorgenson: Accept empty "OMB_THEME_{BRACKET,STRING}_COLOR" by users
2022-02-01 01:22:23 +09:00
James Conroy
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
James Conroy
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
James Conroy
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
James Conroy
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
James Conroy
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
Koichi Murase
cc50c22af7
tools/upgrade: Add an instruction for the users who wants to track the upstream
2022-01-31 19:41:01 +09:00
Koichi Murase
e58334b1df
tools/upgrade: Print instructions on upgrading failures
2022-01-31 19:34:44 +09:00
Koichi Murase
9a0b552de3
Merge pull request #295 from akinomyoga/check-bash-version
...
oh-my-bash: Check Bash version and define `OMB_VERS{ION,INFO}`
2022-01-22 22:04: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
Toan Nguyen
5eaf1a25a4
tools/install: Recommend updating Bash version to 4 or higher
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-01-19 15:48:54 +09:00
Koichi Murase
ab0ca1eb15
Merge pull request #292 from akinomyoga/upgrade-in-same-shell
...
Upgrade/Uninstall/Install OMB in the interactive shell process
2022-01-19 09:31:05 +09:00
Koichi Murase
8c6b66ca14
themes/powerline: Avoid using non-POSIX uptime
2022-01-18 15:48:04 +09:00
Koichi Murase
1d1b160a8d
themes/powerline: Make sudo checks opt-in
2022-01-18 15:48:04 +09:00
Koichi Murase
b805006ccf
Merge pull request #288 from stroggoslav/fix-lesspipe
...
Fix exporting LESSOPEN
2022-01-18 14:15:40 +09:00
stroggoslav
4cc47db635
Fix eval lesspipe
...
Evaluate lesspipe output only when LESSOPEN isn't already defined
unless we are on gentoo distribution then export LESSOPEN directly.
Check lesspipe scriptname (lesspipe/lesspipe.sh)
Issue #46 #69
2022-01-15 17:19:55 +01: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
7f420263b2
themes: Make PROMPT_COMMAND usage consistent for reloading OMB
2022-01-15 19:14:30 +09:00
Koichi Murase
c3bcc5c6d2
refactor: Normalize shebang of scripts to source
2022-01-15 19:00:35 +09:00
Koichi Murase
088eee2abd
lib/utils: Correctly restore shopt states in Bash < 4.1
2022-01-15 18:31:49 +09:00
Koichi Murase
e21cebd52b
oh-my-bash: Load "lib/*.bash"
2022-01-15 18:21:06 +09:00
Koichi Murase
3d2b35a3eb
refactor: Replace invalid shebang lines
2022-01-15 15:46:11 +09:00