Commit Graph

121 Commits

Author SHA1 Message Date
Koichi Murase
d7993748b0 themes/doubletime: Fix "command not found" error caused by #118 (Fix #429)
This is a regression by PR #118 on GitHub [1].

[1] https://github.com/ohmybash/oh-my-bash/pull/118.
2023-04-05 15:24:35 +09:00
Mihir Patel
aabc172d7a themes/agnoster: Fix "command not found" error caused by #118 (Fix #429)
This is a regression by PR #118 on GitHub [1].  `git_status_dirty` and
`git_stash_dirty` are functions and not external commands.

[1] https://github.com/ohmybash/oh-my-bash/pull/118
2023-04-05 15:22:33 +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
Edwin Kofler
80b4974044 fix: Small syntax improvements (#424) 2023-04-02 03:02:29 +09:00
Koichi Murase
8531e1ba3c Merge pull request #401 from akinomyoga/agnoster2021
themes/agnoster: Incorporate recent changes of the upstream and refactor
2023-02-22 20:40:39 -08:00
Koichi Murase
5e22c1a213 Merge pull request #400 from ohmybash/gh372
themes/rr: Add Python virtual environments
2023-02-22 20:39:20 -08:00
Koichi Murase
f085e5718d themes/agnoster: Refactor the new codes 2023-02-16 16:35:59 +09:00
Koichi Murase
a6b655b136 themes/agnoster: Change indentation 2023-02-16 16:35:59 +09:00
Koichi Murase
8c2f1d5049 themes/agnoster: Incorporate recent changes of the upstream
5c79b669bc...1165d1b3f1
2023-02-16 16:35:59 +09:00
Koichi Murase
3d426eb926 themes/agnoster: Add proper copyright notices 2023-02-16 16:07:59 +09:00
Koichi Murase
26f48b030d themes/rr: Refactor using OMB_PROMPT_VIRTUALENV_FORMAT 2023-02-16 14:32:59 +09:00
Koichi Murase
c6b9984014 themes/rr: Change indentation 2023-02-16 14:29:18 +09:00
Gabriele Sorci
dd7c825762 themes/rr: Add Python virtual environments
https://github.com/ohmybash/oh-my-bash/issues/372#issuecomment-1325678142
2023-02-16 14:12:28 +09:00
Ahmd Mhmd Wddh
acc2cc81b4 themes/axin: Apply a style to the Python virtual environments in prompt
- themes/axin: Add Python Virtual Environment Name before terminal
  Prompt for developers when Virtual Environment is activated.
- themes/axin: Rebase on top of the master, where Python virtual
  environments are already added in the promopt.  This PR effectively
  just changes the style, which I tentatively copied from
  plugins/sexy.
2023-02-16 14:05:46 +09:00
Koichi Murase
1288ba3c06 Merge pull request #373 from walidabualafia/conda-prompt
themes/sexy: Display Python virtual environments and refactor
2023-02-15 17:00:24 -08:00
Koichi Murase
797da91d75 Merge pull request #335 from juanswan13/patch-1
themes/sirup: Show Python virtual environments
2023-02-15 16:58:46 -08:00
Koichi Murase
6984032275 themes/axin: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 17:04:33 +09:00
Koichi Murase
114d1045a5 themes/sexy: Use OMB prompt colors 2023-02-12 17:04:12 +09:00
Koichi Murase
55a31c6b96 themes/sexy: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 17:02:34 +09:00
walid
6e7a306d3e themes/sexy: Refactor coding styles
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 16:25:25 +09:00
walid
836c888699 themes/sexy: Add the active conda environment's name to PS1
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 16:03:00 +09:00
Koichi Murase
71d9a1b7da themes/sirup: Move segment "python_venv" next to segment "ruby_gem" 2023-02-12 15:42:00 +09:00
Koichi Murase
b991b94cab themes/sirup: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 15:36:06 +09:00
Koichi Murase
09d7b5a639 themes/sirup: Use an existing utility for python_venv 2023-02-12 15:36:06 +09:00
Juan Swan
937cbbb8a5 themes/sirup: Show VirtualEnv
Added the ability to show the current Virtual Env when using Python Virtual Env.
If there's not vitual env, the theme works normal.
2023-02-12 15:36:06 +09:00
Koichi Murase
2d51ceacb0 themes/absimple: Reuse codes from the "agnoster" theme 2023-02-12 15:13:29 +09:00
Koichi Murase
ec88f62aa3 themes/agnoster: Refactor prompt_{virtual,conda}env 2023-02-12 14:50:58 +09:00
Koichi Murase
f52e91e119 themes/agnoster: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 14:33:25 +09:00
baocheny
cf2a130624 themes/agnoster: Add condaenv prompt
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 14:23:46 +09:00
Koichi Murase
096ff01f40 themes/luan: Move python_venv next to ruby_env 2023-02-11 23:10:07 +09:00
Koichi Murase
0ab6594e92 themes/luan: Disable the python venv by default 2023-02-11 23:10:07 +09:00
Koichi Murase
d0ea8378a0 themes/luan: Refactor the prompt codes 2023-02-11 23:10:07 +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
59f6ef145b global: Switch the function-declarations to avoid unexpected alias expansions 2023-02-10 00:38:56 +09:00
nmarghetti
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
Koichi Murase
a4c92d60ce themes/absimple: Use the standard way to register PROMPT_COMMAND 2022-10-07 19:36:11 +09:00
Koichi Murase
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
aueoiae
80a2551f06 themes: Add "absimple" 2022-10-02 11:18:34 +09:00
Koichi Murase
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
Grant Jurgensen
cde121eccd themes/{robbyrussell,rr}: Add separate prefixes for svn and hg 2022-09-16 20:10:17 +09:00
Grant Jurgensen
748b5842f7 themes/{robbyrussell,rr}: Add _omb_prompt_normal to end of prompt 2022-09-13 08:10:17 +09:00
Grant Jurgensen
cdd5c23632 themes/robbyrussell: Add comment referencing original theme in ohmyzsh and url link 2022-09-11 13:05:57 +09:00
Grant Jurgensen
4906d05bc7 themes/robbyrussell: Add robbyrussell to THEMES.md 2022-09-11 13:05:41 +09:00
Grant Jurgensen
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
Koichi Murase
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
Koichi Murase
b9295c6da0 Merge pull request #239 from mchaker/patch-1
Replace `which` with `command -v`
2022-08-30 12:42:45 +09:00
Koichi Murase
669d8ce0b2 themes/rana: Enclose terminal constrol sequences within \[...\] 2022-08-30 12:01:10 +09:00
Koichi Murase
b956acaa0c themes/pzq: Add image 2022-08-30 12:00:45 +09:00