Commit Graph

135 Commits

Author SHA1 Message Date
Koichi Murase
6068a4093b themes/purity: Deprecate old configuration names 2023-10-04 08:10:38 +09:00
Koichi Murase
1975f1dc6d themes/purity: Apply refactoring in edsonarios 2023-10-04 08:10:38 +09:00
Koichi Murase
446a19072f themes/purity: Change indentation 2023-10-04 08:10:38 +09:00
edsonarios
d9b107beff themes: Add new theme "edsonarios"
show complete work route, show simple git changes and actual time,
write commands in new simple line, and show output error.
2023-10-04 08:09:45 +09:00
Andrei Bulgakov
b4a2264496 themes: Add powerbash10k theme (#474) 2023-09-16 17:48:55 +09:00
Alex G'h
ffd1963875 themes: Add new theme minimal-gh (#468)
* Add theme minimal-gh
* Add minimal-gh in THEMES.md
2023-08-24 17:09:32 +09:00
Rafael Lopez
9c9c92bf31 themes/agnoster : Detect and show pyenv information (#458)
- if pyenv is not initialized, fall back to the virtualenv detection
 - when pyenv is set to a version other than "system", show the version number
 - when pyenv is in virtulenv mode, also display the virtualenv's name

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-07-26 17:44:51 +09:00
Ankur Gupta
d2d780bbcf themes/kitsune: Fix variable name for python virtual env (#457) 2023-07-25 05:50:20 +09:00
Koichi Murase
5605047f48 themes/kitsune: Add python venv 2023-07-24 06:23:11 +09:00
Koichi Murase
dd7807fcd2 Merge pull request #432 from fox-forks/quoting
fix: Quoting
2023-05-13 23:42:32 -07:00
Imran Chaudhry
6d62b33e6e themes: Add new theme "powerline-light" (#436)
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-04-21 08:59:43 +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
Edwin Kofler
5cd1f0eb16 style: Remove trailing whitespace and add missing final newlines 2023-04-16 17:43:09 +09:00
David Dreggors
bea5dc9406 lib, themes: Preserve users' PROMPT_DIRTRIM
These changes in "themes/{agnoster,roderik,vscode}.sh" and "lib/shopt.sh" will
allow a user to set the PROMPT_DIRTRIM variable in their .bashrc and change the
prompt path length.

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-04-09 14:23:23 -07:00
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