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`.
7 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
7 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
7 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