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.
2017-07-05 13:06:36 -07:00
Kaleb Elwert
a0541ce7a5
Default sorin theme to /tmp when TMPDIR is not set
...
Fixes #1331
2017-06-16 10:37:54 -07:00
Alexander Neumann
2f20a80f72
sorin theme: Use a proper temp file for async data
2017-06-13 10:36:35 -07:00
Kyle Rich
723b3812e1
Convert long-pwd to pwd-length
2017-04-27 13:33:40 -07:00
Kyle Rich
7c509a264f
Add zstyle option to show pwd in long format
2017-04-26 11:30:10 -07:00
Patrick Bos
c38c2dd909
Move python-info call in paradox from preexec to precmd
2017-04-15 16:44:05 -07:00
Kaleb Elwert
8655cd543b
Ensure extendedglob is set in promptpwd
2017-04-13 01:16:44 -07:00
Matt Hamilton
60c433d4ce
Move common promptpwd code to external function
2017-04-13 01:15:01 -07:00
Kaleb Elwert
b963484fe7
Only try to run python-info if it exists for the paradox prompt
2017-04-11 15:12:09 -07:00
Kire Ledan
95d19b37c1
Added support for python venv display in paradox prompt
2017-04-04 23:52:12 -07:00
Kaleb Elwert
27c2ccd8b9
Update external prompt modules
2017-04-04 23:00:28 -07:00
Plastix
8820b71f37
Update pure prompt to v1.5.2
...
This fixes a security issue with malicious branch names
2017-04-03 11:42:05 -07:00
Sorin Ionescu
8bd720b0c7
Update pure theme
2016-02-28 22:32:40 -05:00
Sorin Ionescu
165879d4b3
Update pure theme
2015-11-09 02:09:48 -05:00
Sorin Ionescu
f2a826e963
Add preview function to sorin theme
2015-05-31 16:51:29 -04:00
Sorin Ionescu
bdec6c4e20
Redraw only when called from subprocess
2015-05-31 16:50:03 -04:00
Sorin Ionescu
ef634f38a4
Replace signal TERM with KILL
2015-05-31 16:47:16 -04:00
Sorin Ionescu
b761261b11
Replace signal USR1 with WINCH
2015-05-31 16:46:42 -04:00
Sorin Ionescu
02c5f776fc
[ Fix #892 ] Symlink prompt pure async dependency
2015-05-28 20:24:58 -04:00
Sorin Ionescu
f7ea78078f
Update pure theme
2015-05-25 21:58:43 -04:00
Sorin Ionescu
fe64f91f52
Update sorin screenshot
2015-05-19 18:25:40 -04:00
Sorin Ionescu
b46769149b
Remove Emacs indicator
...
The user always knows that he is inside Emacs making the indicator
unnecessary.
2015-05-19 18:25:40 -04:00
Sorin Ionescu
999f0d1a74
Use numerical colors
2015-05-19 18:25:40 -04:00
Sorin Ionescu
f6a2c73423
Remove 'git:' prefix
2015-05-19 18:25:40 -04:00
Sorin Ionescu
a1dea6ae43
Get Git status asynchronously
2015-05-19 18:25:39 -04:00
Sorin Ionescu
08676a273e
Update pure theme
2015-05-03 13:44:41 -04:00
Sorin Ionescu
ac8bc74ef0
Update pure theme
2015-04-01 16:32:38 -04:00
Sorin Ionescu
4411c95a83
Update pure theme
2015-02-12 19:17:38 -05:00
Jacob Swartwood
925b94b6e2
Fix Powerline unicode characters
...
Branch & separator characters are updated to display properly.
2014-12-08 18:02:22 -05:00
Ranek Kiil
c171621747
Fix issue with several themes where errors occur
...
if the git module is not loaded.
2014-12-08 17:58:15 -05:00
Rys Sommefeldt
3dd4cbc3c0
Fix typo
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-14 17:24:07 -05:00
Sorin Ionescu
d349c1cec7
Convert the PeepCode theme to git-info
2014-11-11 20:51:47 -05:00
Sorin Ionescu
a7a4912940
Add paradox theme
2014-11-11 20:51:46 -05:00
Sorin Ionescu
82710c29fc
Fix theme function declaration style
2014-11-11 20:51:46 -05:00
Sorin Ionescu
9f82926f6e
Add pure theme
2014-11-11 20:51:46 -05:00
Sorin Ionescu
61e91b8fb0
Add agnoster theme
2014-11-11 20:51:46 -05:00
Sorin Ionescu
967c91a351
Add powerline theme
2014-11-11 20:51:46 -05:00
Sorin Ionescu
087fce8548
Update sorin theme screenshot
2014-11-11 20:51:45 -05:00
Sorin Ionescu
2ae905a625
Indicate inside Emacs
2014-11-11 20:51:45 -05:00
Sorin Ionescu
19fc31c342
Indicate SSH connections
2014-11-11 20:51:45 -05:00
Kevin Laude
e76df6022d
Add cloud theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
c2d62c3b47
Add ruby-info to smiley theme
2014-11-11 20:51:44 -05:00
Nadav Shatz
03336db523
Add smiley theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
1bc4235a5e
Escape '%' in path
2014-11-11 20:51:44 -05:00
Daniel Møller Kristensen
c078c47c9d
Add damoekri theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 20:51:44 -05:00
Sorin Ionescu
0bede677e6
Add kylewest theme
2014-11-11 20:51:44 -05:00
Sorin Ionescu
ad09f29fd5
Add skwp theme
2014-11-11 20:51:42 -05:00
Paul Gideon Dann
567506f7e7
Update giddie theme
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-05 22:52:38 -05:00
Sorin Ionescu
13ed3a1bf7
Add giddie theme
2014-11-05 22:52:38 -05:00
Sorin Ionescu
ab7f697734
[ Fix #713 ] Set prompt theme off in unsupported terminal
2014-11-05 17:41:36 -05:00