161 Commits

Author SHA1 Message Date
Koichi Murase f296619ac7 refactor(themes/wanelo): split line to construct PS1 2024-05-02 09:40:55 +09:00
Koichi Murase 2b87e07c42 fix(themes/wanelo): localize variable "status" 2024-05-02 09:40:55 +09:00
Koichi Murase 3b120c1dc4 style(themes/wanelo): adjust styles
* style(themes/wanelo): fix indentation
* style(themes/wanelo): use arithmetic command
* style(themes/wanelo): use "function func { ... }"
2024-05-02 09:40:45 +09:00
Mohammad Javidi 5098a0d3b5 themes: Add lambda theme (#561) 2024-04-28 14:42:35 +09:00
José M. Taveras 0ec9c0ca4c themes/90210..bobby: Add README.md (#559)
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 13:11:57 +09:00
Koichi Murase a99e6f3930 themes/modern: Factorize prompt composition 2024-04-28 04:43:11 +09:00
Koichi Murase 78888d8bf9 themes/modern: Use $'\n' to include a newline character 2024-04-28 04:43:11 +09:00
Koichi Murase 4cb952b648 themes/{mairan,zork}: Define variable in the place where it is used 2024-04-28 04:43:11 +09:00
Koichi Murase 50f629ccda themes/modern+: Localize variables 2024-04-28 04:43:11 +09:00
Koichi Murase a78672d792 themes/modern+: Adjust coding style 2024-04-28 04:43:11 +09:00
Koichi Murase 617381a165 themes/modern+: Adjust indentation 2024-04-28 04:43:11 +09:00
Koichi Murase 92925a6b2a themes/mairan: Quote variable expansion $VIRTUAL_ENV 2024-04-01 22:07:14 +09:00
Noah McIvor 802db75233 themes/zork: Quote variable expansion $VIRTUAL_ENV
Without double-quotes, paths with spaces are not resolved correctly
and venv name is not displayed correctly.
2024-04-01 22:06:38 +09:00
PROGRAMMER 4c2afd012a themes/robbyrussell: Add Python Virtual environment indicator (#536)
Co-authored-by: programmer <programmer@debian.debian>
2024-02-28 20:48:05 +09:00
Koichi Murase f796ee65ae Merge branch 'roderik-venv' 2024-02-21 19:55:52 +09:00
Koichi Murase d7a1cf5542 themes/purity: add "sync" to deprecated variables 2024-02-21 19:55:14 +09:00
Koichi Murase 51e8b97dca themes/roderik: Fix styles 2024-02-21 19:54:07 +09:00
Koichi Murase 0a7a083308 themes/roderik: Change indentation 2024-02-21 19:54:07 +09:00
Minsub Lee (Matt) ed5fddd2bc themes/bakke: Add python venv (#522) 2024-01-18 19:14:48 +09:00
TheWatcherMultiversal 4738fef72c themes/powerline-icon: Fix icon for successful execution (#516)
* themes/powerline-icon: Correct error

An error in one of the powerline functions has been corrected, which
was preventing the display of the icon for a successfully executed
command.

* themes/THEMES: Add powerline-icon
2024-01-18 19:13:58 +09:00
William Sawyer d025bddc67 themes/agnoster: Correct spelling error in ansi_r comment (#515) 2024-01-09 20:23:23 +09:00
TheWatcherMultiversal 58756f9ca5 themes: Add theme powerline-icon (#509)
* New theme for oh-my-bash

- Theme based on powerline with icon usage | powerline-icon

* Error correction to the powerline-icon theme

* Update powerline-icon.base.sh

* themes/powerline-icon: Apply change from dea611b

* themes/powerline-icon: Apply change from dea611b (2)

* Changes to the powerline-icon theme

---------

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-01-08 14:53:56 +09:00
GiulianoWF dea611bd13 themes/powerline: Add user-info text color 2023-12-31 02:45:59 +00:00
GiulianoWF c4ebb2cb27 themes/powerline: Add Hex color support 2023-12-31 02:45:49 +00:00
Koichi Murase 027d86ef94 lib/git(git_prompt_status): Avoid zsh constructs 2023-10-14 16:44:45 +09:00
Koichi Murase c93f897794 global(git): Call git for prompt through an interface function 2023-10-14 16:44:45 +09:00
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
https://github.com/speedenator/agnoster-bash/compare/5c79b669bcdd6b4d930aa0dd480e75881993c0c5...1165d1b3f125f52e7d4df953166d3c62774638fc
2023-02-16 16:35:59 +09:00