2d51ceacb0
themes/absimple: Reuse codes from the "agnoster" theme
2023-02-12 15:13:29 +09:00
ec88f62aa3
themes/agnoster: Refactor prompt_{virtual,conda}env
2023-02-12 14:50:58 +09:00
f52e91e119
themes/agnoster: Support OMB_PROMPT_SHOW_PYTHON_VENV
2023-02-12 14:33:25 +09:00
cf2a130624
themes/agnoster: Add condaenv prompt
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 14:23:46 +09:00
096ff01f40
themes/luan: Move python_venv next to ruby_env
2023-02-11 23:10:07 +09:00
0ab6594e92
themes/luan: Disable the python venv by default
2023-02-11 23:10:07 +09:00
d0ea8378a0
themes/luan: Refactor the prompt codes
2023-02-11 23:10:07 +09:00
7a54475d48
themes: Specify default OMB_PROMPT_SHOW_PYTHON_VENV for each theme
2023-02-11 23:10:07 +09:00
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
59f6ef145b
global: Switch the function-declarations to avoid unexpected alias expansions
2023-02-10 00:38:56 +09:00
6fd237c363
tools/install,etc: Add quote around path variables to handle case with space in $HOME or $OSH
2022-10-07 19:47:03 +09:00
a4c92d60ce
themes/absimple: Use the standard way to register PROMPT_COMMAND
2022-10-07 19:36:11 +09:00
b07eaa1ce4
themes/absimple: Update description
...
* themes/absimple/amsimple.theme.sh: Update description
* themes/absimple/README: Update description
2022-10-02 11:18:34 +09:00
80a2551f06
themes: Add "absimple"
2022-10-02 11:18:34 +09:00
20cbf8d226
lib/grep, etc: avoid obsolete egrep/fgrep
...
https://github.com/Bash-it/bash-it/issues/2163
2022-09-29 18:25:11 +09:00
cde121eccd
themes/{robbyrussell,rr}: Add separate prefixes for svn and hg
2022-09-16 20:10:17 +09:00
748b5842f7
themes/{robbyrussell,rr}: Add _omb_prompt_normal to end of prompt
2022-09-13 08:10:17 +09:00
cdd5c23632
themes/robbyrussell: Add comment referencing original theme in ohmyzsh and url link
2022-09-11 13:05:57 +09:00
4906d05bc7
themes/robbyrussell: Add robbyrussell to THEMES.md
2022-09-11 13:05:41 +09:00
252e67d842
themes: Add robbyrussell theme
...
Modified from oh-my-bash theme "rr", attempting to recreate oh-my-zsh default theme "robbyrussell"
2022-09-11 13:05:37 +09:00
4c4ffe0a70
Merge pull request #250 from ZQPei/master
...
themes/pzq: Add pzq themes inspired by ys-theme from oh-my-zsh and rana
2022-09-08 06:17:04 +09:00
b9295c6da0
Merge pull request #239 from mchaker/patch-1
...
Replace `which` with `command -v`
2022-08-30 12:42:45 +09:00
669d8ce0b2
themes/rana: Enclose terminal constrol sequences within \[...\]
2022-08-30 12:01:10 +09:00
b956acaa0c
themes/pzq: Add image
2022-08-30 12:00:45 +09:00
0b52ce05c1
themes/pzq: Fix wrong usage of "echo -n"
2022-08-30 12:00:38 +09:00
af18e3d41c
themes/pzq: Refactor and change styles
2022-08-30 11:32:56 +09:00
b114cabe1e
themes/pzq: Apply recent updates
2022-08-30 11:31:42 +09:00
85fe63eea9
themes/pzq: Use "_omb_prompt_get_python_venv"
2022-08-30 11:13:56 +09:00
d8edd07254
themes/pzq: Apply suggestions from code review
2022-08-30 11:03:51 +09:00
62767d6fb4
themes/pzq: Remove verbose git status info for speed accerating
2022-08-30 10:42:11 +09:00
ed1bbc3dd9
themes/pzq: Add pzq themes inspired by ys-theme from oh-my-zsh and rana
2022-08-30 10:42:11 +09:00
2cdaead214
themes: Add a new theme "rr" inspired by robbyrussell from ohmyzsh
2022-08-30 10:09:38 +09:00
b893ce6f79
Refactor "{declare -{f,F} => _omb_util_function_exists}"
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:46 +09:00
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
a9b463f381
themes/vscode: Adjust the coding styles and refactor
2022-06-21 07:11:39 +09:00
6f5895dc94
themes: Add the "vscode" theme
2022-06-21 07:11:29 +09:00
8797ea3c2f
themes: change black foregrounds to gray for dark terminals
2022-02-05 11:43:33 +09:00
d1171d3b5d
themes/rana: Refactor
2022-02-01 20:08:07 +09:00
b12f315a06
themes/rana: Normalize indentation
2022-02-01 20:04:15 +09:00
7ed2896ab8
themes/rana: Use omb color variables
2022-02-01 20:04:15 +09:00
deff47b6b3
themes/rana: Fix the cursor position issue by bare ANSI sequences ( Fix #248 )
2022-02-01 20:03:16 +09:00
46818bec17
themes/modern-t: Print information on the command "t" when it's not found
2022-02-01 19:11:06 +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
a0db119be6
themes: Move "themes/{colours,base}.theme.sh => lib/omp-prompt-{colors,base}.sh"
2022-02-01 01:30:06 +09:00
f51f2f455d
themes/colours: Refactor "color" and "echo_color"
2022-02-01 01:30:06 +09:00
ee9eb7659e
lib/utils, themes: Deprecate color variables
2022-02-01 01:30:06 +09:00
9788583d4e
refactor(omb-deprecate): Rename "_omb_{util_defun_deprecate => deprecate_function}"
2022-02-01 01:30:06 +09:00
f208b02458
themes/rjorgenson: Reduce forks by using here strings
2022-02-01 01:22:23 +09:00