Age | Commit message (Collapse) | Author |
|
The PROMPT building method clashes with other themes and
plugins that modify the PROMPT variable.
Also reverted the $jobstates trick due to it not working
inside $PROMPT.
|
|
* agnoster: improve perf with use of $jobstates (zsh/parameter module)
This saves multiple fork/execs (for the subshell and wc) each
time the prompt is rendered
* agnoster: compute git repo_path only when in a git repo
this avoids needlessly invoking git twice every time we render the prompt
* agnoster: avoid subshell when rendering prompt
Rather than forking a subshell to print the prompt, construct it
incrementally by appending to $PROMPT.
v2: fix incorrect CURRENT_BG
v3: fix bzr and hg prompting
Thanks @mcornella for the help.
|
|
* Fix branch not updating on checkout in steeef
* Check for `hub` in steeef when switching branches
|
|
Fixes #6758
|
|
* Make steef much faster by not printing all history each time
* Use whence -c to expand shell functions as well
* Use $2 (expanded command about to be ran)
|
|
* [rkj-repos] Make `hg prompt` check less strict
Move the `hg prompt` check inside the hg_prompt_info function so that
it returns an empty string if hg-prompt isn't installed.
Fixes #6743.
* [rkj-repos] Check for hg in `hg prompt` function
|
|
|
|
* Check for extension, and exit if not found. Addresses #6036
* Fix styles in rkj-repos.theme
|
|
see http://www.zsh.org/mla/workers/2015/msg03259.html
|
|
The avit theme's _git_time_since_commit function was running git twice.
Reduce it with a single call to `git log`, checking the exit code for
success.
|
|
The old preview on Skitch is no longer available (closed account?). The new preview is on a free Flickr which might last longer. ?
|
|
|
|
Fixes #6028
|
|
|
|
|
|
The whitespace in line 13 creates a double whitespace when combined with line 24. Therefore 2 whitespaces appear between ${user_host} and ${current_dir}.
|
|
|
|
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
* Add '#' instead of '$' when in root
* Make return code bold
|
|
|
|
It was not possible to simply add AM/PM since strftime return blank for %p %P
|
|
This reverts commit 06d52a60389a85107ed8cc2e302a1e66f719f738.
|
|
|
|
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.
Checking if the commands exist first fixes all such issues.
|
|
the agnoster theme is now able to render basic information
if the user is currently residing inside a bazaar folder.
if so, it will render a green promt segment with "bzr" and
the current revision number in it. if there are untracked
files, the bar will be rendered in yellow. if there are
changes to already tracked files, a + character will be
printed.
|
|
The ruby prompt info was not interpolating properly. Switching to use
ruby_prompt_info helper. This addresses the issue.
|
|
The parsing output for full git log output too slow so it replaced
with last commit show request, wich cause error if repository is empty
|
|
* muse theme: Remove a extra space for none git prompt
* muse theme: Remove a extra space for none virtualenv prompt
|
|
|
|
adding python virtualenv support to muse theme
|
|
|
|
|
|
Avoid using "PREFIX" that cause nvm to complain about.
|
|
|
|
This separates the gathering of file status, repository status and
stash.
|
|
Now uses 12-hour clock or 24-hour clock depending
on user locale
|
|
Fix checkmark for clean repo in bureau theme
|
|
|
|
Avit theme fixes
|
|
Optimize the ys.zsh-theme make it more expressive
|
|
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
|
|
Make some colours in the avit theme bold for better visibility in the
default Ubuntu terminal theme.
|
|
|
|
|
|
|
|
|