Kaleb Elwert
1d58546406
prompt: update powerlevel10k to latest commit
6 years ago
Roman Perepelitsa
ac65e8eb18
Add powerlevel10k theme ( #1695 )
6 years ago
Alexander Neumann
ba4063f99e
Remove old prompt tempfile and pid variable
...
This is a leftover of #1385 , the temp file and the PID variable is not
needed any more.
6 years ago
Diego Rabatone Oliveira
88456ec9b6
Updating submodules to lastest tags/master commits
6 years ago
Diego Rabatone Oliveira
3de1e24965
Update submodules versions
6 years ago
John P. Neumann
8bfed01773
Resolves #1641 - Roll the pure prompt back from 1.8.0 to 1.7.0
6 years ago
Diego Rabatone Oliveira
e6eea17b12
Update submodules
...
Updating to the latest released tags for modules:
completetion
syntax-highlighting
And for agnoster prompt
6 years ago
Indrajit Raychaudhuri
bfe1815cbf
prompt/sorin: Minor cleanup and reordering
6 years ago
Indrajit Raychaudhuri
a43093119e
prompt/minimal: Add support for preview
6 years ago
Indrajit Raychaudhuri
a3753d8f3b
prompt/steeef: Add basic support for editor_info and preview
6 years ago
Indrajit Raychaudhuri
ff5bd9306e
submodule: Updating submodules
...
'modules/prompt/external/async' updated to 'v1.7.1'
'modules/syntax-highlighting/external' updated to latest 'master'
6 years ago
Diego Rabatone Oliveira
fbcae356d3
Updating submodules
...
For the submodules that have some kind of release (tags), they were
updated up to the most recent release. Otherwise, the submodule was
updated to the latest commit.
6 years ago
Diego Rabatone Oliveira
f2042a29cc
Update submodules ( #1615 )
...
This updates the submodules for autosuggestions, completion,
syntax-highlighting and the prompts async, powerlevel9k and pure.
All submodules that have TAGs/Releases were updated to their latest
TAG/release, except for syntax-highlighting because it's latest
release/TAG is from more than one year ago, and the project seems to be
well maintained but without releases.
6 years ago
Kaleb Elwert
300102897a
Add proper prompt_opts to smiley prompt
7 years ago
Kaleb Elwert
054eb351f1
Revert "Only call reset-prompt when the appropriate zstyle is set"
...
This reverts commit 6d00fdf8c8
.
As unfortunate as it is, this workaround was a hack and doesn't take
into account prompts like spaceship which don't use $editor_info but
rely on $KEYMAP directly. We'll need to find a more consistent solution
to fix this.
7 years ago
John P. Neumann
6d00fdf8c8
Only call reset-prompt when the appropriate zstyle is set
...
Resolves issue #1524 (#1548 )
7 years ago
Kaleb Elwert
df3468e957
Update zsh-async to v1.6.0
7 years ago
Kaleb Elwert
ad79f78fbe
prompt: fix async usage in sorin prompt
...
Fixes #1509
7 years ago
Kaleb Elwert
e159c1a439
prompt: update sorin prompt async usage to be closer to pure
7 years ago
Kaleb Elwert
4b0ecffaca
prompt: update pure to 1.6.0
...
Refs #1487
7 years ago
Kaleb Elwert
cbcbedd694
prompt: Add basic troubleshooting information for fonts
...
This is related to #1495 and a number of other issues which have been
filed about font issues.
7 years ago
Diego Rabatone Oliveira
3faaffe7e9
Updating submodules
...
Updating `completition`, prompt `async` and `syntax-highlighting`. All
modules where checkout to their latest tag.
7 years ago
Kaleb Elwert
34482cb325
prompt: add documentation for return value display
7 years ago
Samantha McVey
2cfd366ba6
[prompt_sorin] Use ✘ and show return value for non-0 rtrns ( #1460 )
...
If you do not want it to show the return code, you can set:
`zstyle ':prezto:module:prompt' show-return-val false`
7 years ago
Antoine Rahier
76388a8cd1
Pin powerlevel9k submodule to latest release (v0.6.4)
7 years ago
Antoine Rahier
6a8f1c6b16
Add powerlevel9k theme
7 years ago
Jeef
cab4ac54ec
Update prompt_sorin_setup
...
Addressing a type - and switching from a custom orange to yellow (from default color list) for prompt.
7 years ago
Jeef
4c272a20f6
Update prompt_sorin_setup
...
Moved ` ` after the virtual env info into the `zstyle` call and out of `RPROMPT`
7 years ago
Jeef
5b244eeadb
Update prompt_sorin_setup
...
Added python support
7 years ago
Kaleb Elwert
dd1133d32e
prompt: remove unneeded prompt_opts from smiley prompt
7 years ago
Kaleb Elwert
2f867d6f22
Revert "prompt: remove prompt_sp from prompt_smiley_setup as it is not needed"
...
This reverts commit 24e5e49ff2
.
7 years ago
Kaleb Elwert
24e5e49ff2
prompt: remove prompt_sp from prompt_smiley_setup as it is not needed
7 years ago
Kaleb Elwert
730fc4690e
prompt: add sp option to prompt_setup functions
...
This was a change in zsh 5.4.1 where prompt_sp is now reset on calls to
prompt, unlike previous behavior where it was set by default. This
restores the previous default behavior.
Refs #1423 , but is not a complete fix because we need to wait for
external prompts to update as well.
7 years ago
Indrajit Raychaudhuri
5e295b0835
[prompt] Remove spurious duplicate section
...
Remove duplication 'Prompt Display Length' section.
Also, adjust wrapping for `~`.
7 years ago
Indrajit Raychaudhuri
a60499f933
[general] Miscellaneous cleanup and formatting
8 years ago
Kaleb Elwert
7e7124e84a
Update agnoster prompt to include security fix
...
Fixes #1267
8 years ago
Kaleb Elwert
9bdc1b35d5
Migrate sorin prompt to zsh-async ( #1385 )
...
This includes some improvements by @indrajitr in addition to the main migration.
The first step was to avoid PROMPT and RPROMPT modification when possible (which may help resolve some other issues as well relating to zsh crashes with the sorin prompt) then update the displayed git information in a separate variable rather than a command.
We use zsh-async for creating and running background tasks. The sorin prompt uses it to update git info without blocking the prompt from displaying (because of how long it can take). In the future it may be worth moving more tasks and more prompts to using this.
The move to zsh-async does make the git prompt slower in some circumstances (most noticeable in large repos), but this is a worthwhile tradeoff to avoid the cache file which had a number of potential security holes.
We have also switched to adding zsh-async as an external submodule (rather than the version bundled with pure) which may cause some migration headaches, but it will be worth it in the long run.
8 years ago
Indrajit Raychaudhuri
17a59bada7
[prompt] Rename helper function `promptpwd` to `prompt-pwd` for consistency
...
Changes:
* In prezto, function names are hyphenated ('-') by convention,
rename `promptpwd` to `prompt-pwd` accordingly.
* Unset local variable `current_pwd` proactively.
* Tweak additional documentation for `prompt-pwd`.
8 years ago
Indrajit Raychaudhuri
ac628c9059
[general] Switch code block formatting to use fence formatting
...
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
8 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
8 years ago
Samantha McVey
5cd3380d9d
[prompt/sorin] Fix branch code exploit vulnerability
...
Escape all $ except the first $. Escape all backtick `'s. This prevents
variable names or shell expansions placed as branch names from
remotely exploiting code.
Fixes issue #1267 for sorin prompt.
8 years ago
Kaleb Elwert
a0541ce7a5
Default sorin theme to /tmp when TMPDIR is not set
...
Fixes #1331
8 years ago
Alexander Neumann
2f20a80f72
sorin theme: Use a proper temp file for async data
8 years ago
Kyle Rich
723b3812e1
Convert long-pwd to pwd-length
8 years ago
Kyle Rich
7c509a264f
Add zstyle option to show pwd in long format
8 years ago
Patrick Bos
c38c2dd909
Move python-info call in paradox from preexec to precmd
8 years ago
Kaleb Elwert
8655cd543b
Ensure extendedglob is set in promptpwd
8 years ago
Matt Hamilton
60c433d4ce
Move common promptpwd code to external function
8 years ago
Kaleb Elwert
b963484fe7
Only try to run python-info if it exists for the paradox prompt
8 years ago
Kire Ledan
95d19b37c1
Added support for python venv display in paradox prompt
8 years ago
Kaleb Elwert
27c2ccd8b9
Update external prompt modules
8 years ago
Plastix
8820b71f37
Update pure prompt to v1.5.2
...
This fixes a security issue with malicious branch names
8 years ago
Sorin Ionescu
8bd720b0c7
Update pure theme
9 years ago
Sorin Ionescu
165879d4b3
Update pure theme
9 years ago
Sorin Ionescu
f2a826e963
Add preview function to sorin theme
10 years ago
Sorin Ionescu
bdec6c4e20
Redraw only when called from subprocess
10 years ago
Sorin Ionescu
ef634f38a4
Replace signal TERM with KILL
10 years ago
Sorin Ionescu
b761261b11
Replace signal USR1 with WINCH
10 years ago
Sorin Ionescu
02c5f776fc
[ Fix #892 ] Symlink prompt pure async dependency
10 years ago
Sorin Ionescu
f7ea78078f
Update pure theme
10 years ago
Sorin Ionescu
fe64f91f52
Update sorin screenshot
10 years ago
Sorin Ionescu
b46769149b
Remove Emacs indicator
...
The user always knows that he is inside Emacs making the indicator
unnecessary.
10 years ago
Sorin Ionescu
999f0d1a74
Use numerical colors
10 years ago
Sorin Ionescu
f6a2c73423
Remove 'git:' prefix
10 years ago
Sorin Ionescu
a1dea6ae43
Get Git status asynchronously
10 years ago
Sorin Ionescu
08676a273e
Update pure theme
10 years ago
Sorin Ionescu
ac8bc74ef0
Update pure theme
10 years ago
Sorin Ionescu
4411c95a83
Update pure theme
10 years ago
Jacob Swartwood
925b94b6e2
Fix Powerline unicode characters
...
Branch & separator characters are updated to display properly.
10 years ago
Ranek Kiil
c171621747
Fix issue with several themes where errors occur
...
if the git module is not loaded.
10 years ago
Rys Sommefeldt
3dd4cbc3c0
Fix typo
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
d349c1cec7
Convert the PeepCode theme to git-info
10 years ago
Sorin Ionescu
a7a4912940
Add paradox theme
10 years ago
Sorin Ionescu
82710c29fc
Fix theme function declaration style
10 years ago
Sorin Ionescu
9f82926f6e
Add pure theme
10 years ago
Sorin Ionescu
61e91b8fb0
Add agnoster theme
10 years ago
Sorin Ionescu
967c91a351
Add powerline theme
10 years ago
Sorin Ionescu
087fce8548
Update sorin theme screenshot
10 years ago
Sorin Ionescu
2ae905a625
Indicate inside Emacs
10 years ago
Sorin Ionescu
19fc31c342
Indicate SSH connections
10 years ago
Kevin Laude
e76df6022d
Add cloud theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
c2d62c3b47
Add ruby-info to smiley theme
10 years ago
Nadav Shatz
03336db523
Add smiley theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
1bc4235a5e
Escape '%' in path
10 years ago
Daniel Møller Kristensen
c078c47c9d
Add damoekri theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
0bede677e6
Add kylewest theme
10 years ago
Sorin Ionescu
ad09f29fd5
Add skwp theme
10 years ago
Paul Gideon Dann
567506f7e7
Update giddie theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
13ed3a1bf7
Add giddie theme
10 years ago
Sorin Ionescu
ab7f697734
[ Fix #713 ] Set prompt theme off in unsupported terminal
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Sorin Ionescu
b4884d4d45
[ Fix #626 ] Escape '%' in path
10 years ago
Sorin Ionescu
e836957e4f
[ Fix #221 ] Add a simple git-info
12 years ago
Rory O’Kane
f431af790b
Fix misspellings of the word bellow in READMEs
12 years ago
Sorin Ionescu
b531191e2c
[ Fix #366 ] Distinct position with red
12 years ago
Sorin Ionescu
4c116cb4d2
Rename git-info zstyle patterns
12 years ago
Sorin Ionescu
f12c24e76e
Rename python-info zstyle patterns
12 years ago
Sorin Ionescu
8ea0e42b7f
Rename ruby-info zstyle patterns
12 years ago
Sorin Ionescu
141a1ba947
Rename editor-info zstyle patterns
12 years ago
Sorin Ionescu
d7fb7cd215
Add a missing space to peepcode
12 years ago