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
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
Matt Hamilton
60c433d4ce
Move common promptpwd code to external function
8 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
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
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
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
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
141a1ba947
Rename editor-info zstyle patterns
12 years ago
Sorin Ionescu
eb93677e4a
[ Fix #303 ] Remove extra '/' in sorin theme
12 years ago
Sorin Ionescu
be0e4245a6
[ Fix #301 ] Unset $MATCH after use
12 years ago
Sorin Ionescu
bc8533c30e
Update sorin theme screenshot
12 years ago
Sorin Ionescu
52a8c98337
[ Fix #290 ] Add fish shell style PWD to sorin theme
12 years ago
Sorin Ionescu
ab0eedd45e
Update sorin theme screenshot
12 years ago
Sorin Ionescu
80909fd04a
Change Git branch and prompt color
12 years ago
Sorin Ionescu
fea343c03a
Move the vi mode indicator to the left prompt
12 years ago
Sorin Ionescu
e5e26eccff
[ #245 ] Convert helper into a module
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
a9b6c84ea5
Update comments in themes
12 years ago
Sorin Ionescu
f48a60f40e
[ Fix #127 ] Indicate overwrite mode in sorin theme
13 years ago
Sorin Ionescu
000b3653e6
[ Fix #126 ] Do not evaluate undefined $git_info
...
Fix a bug introduced in aa0c1fa
.
13 years ago
Sorin Ionescu
64da1ed627
Rename $editor_keymap_info to $editor_info[keymap]
13 years ago
Sorin Ionescu
aa0c1faa19
[ Fix #88 ] Allow arbitrary git-info formats
...
The terms 'prompt' and 'rprompt' are not always appropriate.
A multi-line theme may choose 'line-one' and 'line-two' instead.
@ColinHebert contributed to this commit.
13 years ago
Sorin Ionescu
48dcd2f723
Shorten git zstyle namespace
13 years ago
Sorin Ionescu
d5a94dda74
[ #23 ] Rename keymap indicator zstyles
13 years ago
Sorin Ionescu
66c14486c6
[ #23 , Fix #80 ] Move themes into the prompt module
13 years ago
Sorin Ionescu
1330e6e792
[ #23 ] Convert editor into a module
13 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago
Sorin Ionescu
b7566e3f36
Show the HEAD position when not on a branch
13 years ago
Sorin Ionescu
f1bcae7fae
Rename completion indicator
13 years ago
Sorin Ionescu
6a9a4ea8d6
[ Fix #60 ] Do not use parentheses in function names
13 years ago
Sorin Ionescu
a3b92bb053
[ Fix #51 ] Make the vi mode indicator more flexible
13 years ago
Sorin Ionescu
bfb46ff802
Differentiate commit from branch
13 years ago
Sorin Ionescu
5e5a7803b6
Fix a formatting bug introduced in cdb95f8
13 years ago
Sorin Ionescu
fe1d2ab77d
Fix a spacing bug introduced in cdb95f8
13 years ago
Colin Hebert
cdb95f810f
[ Fix #41 ] Do not truncate the commit id
13 years ago