Marc Cornellà
8e973d42bd
fix(bureau): fix `status` variable name causing error ( #10561 )
...
Also cleaned up the code a bit
Fixes #10561
5 years ago
Marc Cornellà
a9d57eb2ee
fix: quote % in `box_name` prompt functions
5 years ago
Marc Cornellà
43be5ea321
fix(bureau): quote % in git prompt function and remove global variables
5 years ago
Marc Cornellà
4e777ef9d6
fix(trapd00r): fix potential command injection in `zsh_path`
5 years ago
Marc Cornellà
9836aebe67
fix(agnoster): quote % in prompt functions
5 years ago
Marc Cornellà
634296be3c
fix(random): fix negated logic in `ZSH_THEME_RANDOM_QUIET`
5 years ago
Marc Cornellà
96e473a1d6
fix(random): fix `ZSH_THEME_RANDOM_QUIET` check ( #10534 )
...
BREAKING CHANGE: For consistency, `ZSH_THEME_RANDOM_QUIET` now needs to
be `true` if you want to silence the "Random theme loaded" message in the
`random` theme.
The wiki specified that 1 or true was valid, while the code just
checked whether it was set to any value. Being more strict makes
sure that we're consistent with the rest of the Settings.
Fixes #10534
5 years ago
rutriff
a1ec96d125
fix(af-magic): add space before git and hg information ( #9396 )
...
Closes #9396
5 years ago
Marc Cornellà
41c15a2159
fix(jonathan): fix top bar alignment with RPROMPT
5 years ago
Marc Cornellà
7d03ea18ed
fix: declare variables as global when using `typeset`
...
Fixes fb86ec77
5 years ago
Marc Cornellà
fb86ec7749
style: use `typeset` for dynamic variable names
5 years ago
deimosian
f42aa49cfd
fix(ys): use default color instead of gray for improved readability ( #10506 )
5 years ago
Marc Cornellà
e3bb6e685d
refactor(themes): use `ruby_prompt_info` everywhere
5 years ago
Marc Cornellà
aa99472c8a
style(simonoff): fix code style and optimize use of variables
5 years ago
Marc Cornellà
134c1ada28
fix(jonathan): fix theme for non-UTF8 locales
5 years ago
Marc Cornellà
065e8ebdd0
style(jonathan): fix code style in jonathan theme
5 years ago
Marc Cornellà
1b01496c21
fix(bira): fix color bleed in user_host prompt section ( #10505 )
...
Fixes #10505
5 years ago
Marc Cornellà
a94e263426
refactor(adben): simplify used variables and %-quote prompt functions
...
Closes #10474
Co-authored-by: Tom Payne <twpayne@gmail.com>
5 years ago
Frank Van Damme
a1a63f4c7d
feat(afowler): add mercurial support
...
Closes #5992
5 years ago
Marc Cornellà
ee46d198ad
style(afowler): simplify code and remove unnecessary variables
5 years ago
Marc Cornellà
c172624398
style(af-magic): fix code style and remove unnecessary variables
5 years ago
Marc Cornellà
4119f53004
perf(mercurial): optimize utility functions
5 years ago
Romain Failliot
137b45672d
feat(bira): improve theme and add support for mercurial ( #6631 )
...
Added the red dot (instead of the default `*`) if the branch is dirty.
The bira theme only supported git, now it supports mercurial as well. It
needed ito call `hg_prompt_info` and the `ZSH_THEME_HG_PROMPT_`
variables.
Closes #6631
5 years ago
Josh Soref
0e41181d54
chore: fix spelling errors across the project ( #10459 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
5 years ago
Marc Cornellà
b3ba9978cc
fix(themes): fix potential command injection in `pygmalion`, `pygmalion-virtualenv` and `refined`
...
The pygmalion and pygmalion-virtualenv themes unsafely handle git prompt information
which results in a double evaluation of this information, so a malicious git repository
could trigger a command injection if the user cloned and entered the repository.
A similar method could be used in the refined theme. All themes have been patched against this
vulnerability.
5 years ago
Marc Cornellà
3dc66bd367
fix(emotty): fix glyphs output width in emotty theme
5 years ago
Janusz Mordarski
4a74349635
feat(refined): allow selecting git branch by changing prefix to `:` ( #10400 )
5 years ago
Aaron Hutchinson
5e8905b4b2
feat(ys): increase color contrast with light color schemes ( #10295 )
5 years ago
Igor Gavelyuk
dbf555438e
feat(obraun): display time with leading zeros ( #10289 )
5 years ago
Marc Cornellà
72b8f0b73b
fix(half-life): fix prompt color bleeding and code clean up ( #10085 )
...
Fixes #10085
Closes #10223
Co-authored-by: valdaarhun <icegambit91@gmail.com>
5 years ago
Bartek Pacia
c47ac2d86d
feat(mlh): let users configure the official MLH theme ( #9997 )
5 years ago
Bartek Pacia
adcb5c5e07
style(mlh): update the official theme of Major League Hacking ( #9971 )
...
* allow for customization of RPROMPT (exit code and timestamp)
* improve code and comments
5 years ago
Keita Urashima
059ee71fc8
fix(gentoo): fix the color of the prompt symbol ( #9885 )
...
This commit fixes an issue where the prompt symbol is white when vcs_info is displayed in the gentoo theme.
5 years ago
MrAureliusR
0e5fed193e
feat(ys): add virtualenv prompt info ( #8453 )
5 years ago
Kirk
b3d1826a43
feat(ys): add setting to hide dirty info in hg repositories ( #8415 )
...
On large mercurial projects, using `hg status` to show dirty prompt
causes significant delay.
This commit checks a local hg config value of `oh-my-zsh.hide-dirty` to
skip dirty check.
Users who wish to skip dirty check can add this to their `.hg/hgrc`
file.
```
[oh-my-zsh]
hide-dirty = 1
```
This config value uses the same naming as ones found for git, in file
lib/git.zsh.
5 years ago
Thomas De Backer
12669f29f0
fix(gentoo): fix tab color completion ( #9810 )
...
This commit fixes an issue in the gentoo theme introduced in 3bb5e977 .
Due to incorrect line width calculations, colors are incorrectly applied
when using tab.
Fixes #9778
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
5 years ago
Marc Cornellà
69507c9518
refactor(adben): refactor theme and degrade gracefully on missing dependencies ( #9734 )
5 years ago
Marc Cornellà
02d07f3e3d
fix: use `$USERNAME` guaranteed to always be defined in zsh
...
Fixes #9701
5 years ago
Marc Cornellà
3bb5e97762
feat(gentoo)!: use `vcs_info` to support other VCSs ( #9440 )
...
* prettify vcs infomation using `vcs_info`
* Show symbol when there are untracked files in git
Co-authored-by: freeyoung <ourbaozi@qq.com>
5 years ago
Marc Cornellà
c52e646bb7
refactor(gallois): clean up theme and fix typos
6 years ago
Sébastien MB
172b32c90d
feat(essembeh): update theme with new features ( #9595 )
...
- single line
- quite simple by default: user@host:$PWD
- green for local shell as non root
- red for ssh shell as non root
- magenta for root sessions
- prefix with remote address for ssh shells
- prefix to detect docker containers or chroot
- git plugin to display current branch and status
6 years ago
Sreekanth S
c66d8a841d
agnoster: fix icon for unstaged git status ( #9164 )
6 years ago
Marc Cornellà
fbb2b56c7e
fino: stop bold with prompt sequence
...
Fixes weird bug when completing.
6 years ago
Matsievskiy S.V
b4093819a8
fino: fix dangling "using" and clean up ( #9307 )
...
Co-authored-by: Matsievskiy S.V <matsievskiysv@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
d14bddf6d7
agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false
...
Fixes #8040
6 years ago
Marc Cornellà
bcc859e012
avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
...
Fixes #9232
6 years ago
Marc Cornellà
93c837fec8
random: add ZSH_THEME_RANDOM_QUIET setting
...
Fixes #9180
Co-authored-by: James Eapen <jamespeapen@gmail.com>
6 years ago
Marc Cornellà
bc9d4b89bb
Remove racially-charged language from the codebase
...
The ZSH_THEME_RANDOM_BLACKLIST variable will be deprecated until it's
removed 2 months from now.
6 years ago
Marc Cornellà
7256c03ce1
fishy: fix one-level directory bug and bad array assignment in zsh 5.0.1
6 years ago
Marc Cornellà
a7f5170d68
Remove perl dependency
6 years ago