Koichi Murase
0177468202
lib/omb-prompt-base: Use _omb_prompt_git
2024-02-21 19:50:28 +09:00
Koichi Murase
a412761ff9
lib/omb-prompt-base: Use _omb_prompt_git_status_enabled to test hide-status
2024-02-21 19:50:17 +09:00
Koichi Murase
1e326a7d6f
lib/omb-prompt-base: Check "oh-my-{bash,zsh}.hide-status" for git status
2024-02-21 19:48:06 +09:00
Koichi Murase
c93f897794
global(git): Call git for prompt through an interface function
2023-10-14 16:44:45 +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
Joe MacDonald
e91797d914
omb-prompt-base: do not attempt to process git vars outside a git tree ( #443 )
...
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com >
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2023-05-24 06:35:31 +09:00
Edwin Kofler
0c07172c02
fix: Fix quoting
...
Co-authored-by: Koichi Muarse <myoga.murase@gmail.com >
2023-04-16 18:23:22 +09:00
Koichi Murase
1453db64c8
global: Use "command" to run "hg"
2023-04-05 10:35:13 +09:00
Koichi Murase
897876eae1
global: Use "command" to run "git" and "svn"
2023-04-05 10:35:11 +09:00
Reuben Thomas
d3e6411f54
lib/omb-prompt-base: Use "command" to run git and svn everywhere
...
This was largely done correctly, but several invocations of “git” were not
done with “command”. This means that they could pick up aliases for git,
such as “hub” or “lab”, which would still work, but (especially with “lab”)
make things really slow.
2023-04-05 10:30:39 +09:00
hiagofranco
3d14c374b9
omb-prompt-base: Add "." to git branch whitelist ( #420 )
...
* omb-prompt-base: Add "." to git branch whitelist
Add "." to git branch character whitelist to fix branches
like v6.0 or 5.4.2, as examples.
* Update lib/omb-prompt-base.sh
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2023-04-04 20:12:42 +09:00
Koichi Murase
1fdb9d035c
lib/omb-prompt-base: Fix _Omb_prompt_get_condaenv
2023-02-20 22:40:07 +09:00
Koichi Murase
55a31c6b96
themes/sexy: Support OMB_PROMPT_SHOW_PYTHON_VENV
2023-02-12 17:02:34 +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
Charadon
ea20d4cd81
lib/omb-prompt-base: Fix unbound variable error
...
The variable `git_status_flags` was not declared in the function
`git_prompt_vars`, so if `set -u` was set in bashrc, it would give
unbound variable error constantly with `set -u`.
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-09-29 18:12:22 +09:00
M
4fb778c405
Refactor "{{which,command -v} => _omb_util_{binary,command}_exists}"
...
`which` has been deprecated in Debian (at least, the rolling release
installed on chromebooks via Linux Containers)
https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1000974461
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-08-23 18:09:16 +09:00
Koichi Murase
827277253a
lib/omb-prompt-colors: Rename basic colors
2022-02-01 01:43:32 +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