oh-my-bash/themes/THEMES.md
Marco A. Gallegos f53beb64b8
themes: Add a new theme developer focusing on devs (#526)
* feat(themes): added new theme
* fix(themes): screenshot updated
* fix(themes): image sizing
* chore(themes): updated theme description
* style(themes/developer): fix the indentation
* refactor(themes/developer): prefix "_omb_theme_developer_" to internal functions
* refactor(themes/developer): delimit returned values with newlines

"grep -P" is not POSIX.  Instead of using PCRE to extract the results
separated by "---", we can simply separate the results with newlines
and use standard utilities (which assumes line-oriented data) to
manipulate the data.

* refactor(themes/developer): use "_omb_util_command_exists"
* refactor(themes/developer): use awk to pick the activated conda env
* fix(themes/developer): remove meaningless forks
* fix(themes/developer): use "_omb_util_put" instead of "printf"
* style(themes/developer): fix coding styles
* chore(themes/developer): clean up codes for debugging
* fix(themes/developer): fix wronge uses of arithmetic commands
* fix(themes/developer): localize variables used in functions
* refactor(themes/developer): use "return_delimited" at the end of functions
* fix(themes/developer): fix a problem that it sometimes fails to extract CPU usage
* fix(themes/developer): avoid mixing stdout

This attempted to run the commands to extract information in parallel,
but this may result in interleaved information in some operating
system (depending on the way how the C library performs buffering and
how the syscall write(2) issued by multiple processes would interfere
with one another).

There are other parts we can optimize, so we would compensate the
overhead with the optimization of other parts.

* perf(themes/developer): load prompt information through REPLY
* perf(themes/developer): reduce the number of forks
* fix(themes/developer): suppress error message of non-existent commands
* fix(themes/developer): disable prompt element with unavailable information

---------

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-09-11 17:14:18 +09:00

5.9 KiB

90210

ab+simple

agnoster

axin

bakke

binaryanomaly

bobby

bobby-python

brainy

brunton

candy

clean

cooperkid

cupcake

demula

developer

dos

doubletime

doubletime_multiline

doubletime_multiline_pyonly

dulcie

duru

edsonarios

emperor

envy

font

gallifrey

half-life

hawaii50

ht

iterate

kitsune

lambda

luan

mairan

mbriggs

minimal

minimal-gh

modern

modern-t

morris

n0qorg

nwinkler

nwinkler_random_colors

pete

powerbash10k

powerline

powerline-icon

powerline-light

powerline-multiline

powerline-naked

powerline-plain

powerline-wizard

primer

pro

pure

purity

pzq

rainbowbrite

rana

rjorgenson

robbyrussell

roderik

rr

sexy

simple

sirup

slick

standard

tonka

tonotdo

tylenol

vscode

wanelo

zitron

zork