Commit Graph

196 Commits

Author SHA1 Message Date
Joel Kuzmarski
9501ac14ae Use ; instead of && for promptinit (#227)
Closes #226
2016-09-01 11:48:03 +03:00
Mathias Fredriksson
780d1a5a08 Prevent parameter expansion in preprompt
By unsetting `prompt_subst` for the `prompt_pure_preprompt_render`
function we can avoid e.g. git branch names with a `$`-sign to be
expanded as parameters.

Fixes #224 and #225 (as a result of 6cbd49a).
2016-08-25 19:00:23 +03:00
Mathias Fredriksson
753ef290f8 Revert "Fix double variable interpolation in branch name"
This reverts commit 6cbd49ad5c because it
broke users prompts if they didn't have `prompt_subst` set.
2016-08-25 18:49:07 +03:00
Mathias Fredriksson
6cbd49ad5c Fix double variable interpolation in branch name
This commit prevents a git branch named e.g. `$TMPPREFIX` from being
expanded into the actual contents of the `$TMPPREFIX` variable.

Fixes #224.
2016-08-25 12:22:38 +03:00
Vasiliy
ed58b1873a Fix link to bash port (#219) 2016-07-29 20:51:00 +02:00
Mathias Fredriksson
211b49481e 1.4.0 2016-07-27 18:04:27 +03:00
Mathias Fredriksson
e3f1f87fc3 Compare expanded preprompt when rendering (#214)
* Compare expanded preprompt when rendering

The expanded content of the preprompt was not considered previously when
checking if the content had changed. E.g. path changes were never detected.
The typeset (definition) and assignment are performed on separate lines as it
would cause issues otherwise.

Fixes #213.
2016-07-27 12:04:49 +03:00
Joris Berthelot
b3adab82c0 Update async.zsh (#218) 2016-07-27 12:01:14 +03:00
Sindre Sorhus
306aa90e54 update screenshot 2016-07-25 12:21:05 +02:00
Daniel Tschinder
95ee3e7618 Correct link to Droid Sans Mono Font (#216) 2016-07-13 11:25:38 +03:00
Sarbbottam Bandyopadhyay
7d96270704 Add async.zsh to the download step in the readme 2016-04-14 14:26:40 +07:00
Sindre Sorhus
c6564a4f7c Merge pull request #205 from fvargas/master
Move footnote number
2016-03-26 15:40:02 +07:00
Felipe Vargas
45aeffd2d1 Move footnote number 2016-03-26 04:33:08 -04:00
Sindre Sorhus
9283d6a7bf Merge pull request #204 from fvargas/master
Add note about screenshot color space
2016-03-26 15:24:20 +07:00
Felipe Vargas
8c92e39062 Add note about screenshot color space 2016-03-26 04:16:19 -04:00
Sindre Sorhus
00e0571f67 Merge pull request #201 from fvargas/master
Update and simplify oh-my-zsh integration instructions
2016-03-19 17:50:39 +07:00
Felipe Vargas
67f4c213d2 Update and simplify oh-my-zsh integration instructions 2016-03-17 05:49:53 -04:00
Sindre Sorhus
74dbfba33e readme - mention that the git check is done asynchronously #187 2016-03-04 18:23:58 +07:00
Sindre Sorhus
fb4c37dad3 Merge pull request #196 from sindresorhus/emacs-fixes
Emacs fixes for garbled terminal output
2016-02-16 21:24:44 +07:00
Mathias Fredriksson
a0a3e88480 Use zle reset-prompt to restore cursor instead of relying on ansi codes
This fixes #191 and can be considered a more robust method of restoring cursor
position.
2016-02-15 19:01:22 +02:00
Mathias Fredriksson
79b1514fd4 Disable setting title in emacs terminal (not supported)
This fixes #188 and takes place of #190, at least for now.
2016-02-15 19:01:17 +02:00
Sindre Sorhus
9e4955cf91 Clarify Prezto usage
Closes #182
2016-01-29 23:02:14 +01:00
Carlos Alexandro Becker
9f197c864c Close #192 PR: Added console language where needed. 2016-01-29 21:29:32 +01:00
Mathias Fredriksson
45ef73ec34 Merge pull request #186 from edouard-lopez/patch-1
Add Ports section to readme
2016-01-20 19:24:15 +02:00
Édouard Lopez
ec525b2563 move Ports below FAQ 2016-01-20 14:40:34 +01:00
Édouard Lopez
e6a532e367 fix typo thank to @mafredri 2016-01-19 13:55:35 +01:00
Édouard Lopez
ba07d37c9b add Shell Ports section 2016-01-19 11:24:44 +01:00
⌁ sɪɴᴅʀᴇ sᴏʀʜᴜs ⌁
6d480638b7 Merge pull request #181 from caarlos0/patch-1
Added antibody instructions
2016-01-13 17:54:31 +01:00
Carlos Alexandro Becker
3ff7d01ee5 Added antibody instructions
[antibody](https://github.com/getantibody/antibody) does basically the same thing as antigen, but it is faster.

Commands are similar, except for the `theme` command that doesn't even exist in antibody.
2016-01-13 11:30:42 -02:00
Sindre Sorhus
264658de37 Merge pull request #178 from jedahan/master
Use builtin cd, in case cd::cd has been redefined
2015-12-04 11:39:28 +01:00
Jonathan Dahan
2fcf5251b4 Use builtin cd, in case cd::cd has been redefined 2015-12-02 18:01:33 -05:00
Mathias Fredriksson
27e921a0be Merge pull request #177 from veggiemonk/patch-1
Close #177 PR: Avoid double slashes in dest path

Fixes #176.
2015-12-02 22:10:33 +02:00
Julien Bisconti
a1d007ce97 avoid double slashes in dest path 2015-12-01 19:52:17 +01:00
Mathias Fredriksson
f6625c2a4e Close #175 PR: Refresh pure screenshot. 2015-11-28 09:50:28 +07:00
Mathias Fredriksson
22c4f0b403 1.3.0 2015-11-17 22:14:22 +02:00
Mathias Fredriksson
dc30cc6b03 Update bundled zsh-async to 1.1.0 2015-11-17 22:11:42 +02:00
Mathias Fredriksson
9de635ee10 Close #171 PR: Attempt to detect user initiated git fetch. Fixes #162 2015-11-18 02:20:23 +07:00
Sindre Sorhus
95e7fd7de7 Merge pull request #164 from sindresorhus/set-title-function
Deduplicate code by creating a set_title function
2015-10-02 17:06:02 +07:00
Mathias Fredriksson
a52e8a9469 Deduplicate code by creating a set_title function 2015-09-22 13:25:25 +03:00
Mathias Fredriksson
dec025315e Update oh-my-zsh instructions 2015-09-16 19:11:46 +03:00
Mathias Fredriksson
49cd9360a2 1.2.0 2015-08-25 21:39:27 +03:00
Mathias Fredriksson
f747acf4ec Bump zsh-async to 1.0.0, prevents mixed stdout/stderr 2015-08-25 18:16:45 +03:00
Mathias Fredriksson
8b2dd63594 Merge pull request #153 from sindresorhus/preprompt-update-fix
Render new preprompt with previous one in mind, fixes #145
2015-08-11 23:35:06 +03:00
Mathias Fredriksson
f3969755ae Render new preprompt with previous one in mind
This fixes #145 by calculating how many lines the previous preprompt
assumes in the current terminal window and either erases preprompt lines
that are no longer relevant or allocates more space for the new
preprompt.
2015-07-29 16:04:22 +03:00
Sindre Sorhus
fa7005f6b5 Merge pull request #149 from mafredri/pure-nitro
Refactor to avoid subshell usage, prefer variables
2015-07-27 23:14:24 +02:00
Mathias Fredriksson
924b6291ab Refactor to avoid subshell usage, prefer variables
Performance tests indicate using a lot of subshells can lead to bad
performance.
2015-07-27 23:27:45 +03:00
Mathias Fredriksson
ba1f064357 Close #147 PR: Preserve preprompt on Ctrl+L. Fixes #145 2015-07-18 17:27:18 +02:00
Mathias Fredriksson
2509a1fac0 Remove cr from prompt_opts, fixes #127 2015-07-16 10:15:56 +03:00
Mathias Fredriksson
7f90797e8d Merge pull request #142 from zmwangx/string-length-fix
prompt_pure_string_length: no need to subtract one
2015-07-15 15:32:56 +03:00
Zhiming Wang
4a35b8002b fix last-char-of-preprompt-on-last-column condition
See https://github.com/sindresorhus/pure/pull/142#issuecomment-120961475.
2015-07-14 17:52:33 -07:00