* robbyrussell/master: (182 commits)
Fix issues with character widths in emotty theme
Add emotty theme
Add emotty plugin
Use local gradlew
chruby: donʼt try to execute .sh files before loading
Remove unnecessary sandbox fn
Add simple Stack commands list
[plugins/bgnotify] fix for iTerm2 notification clicks
jira: add README, "emulate -L zsh", add "dumpconfig" action
xcode: extend xcselv to list versions and do completion
handle multiple paths in GOPATH
svn plugin: urldecode repo info
Make Readme much clearer and explain edits.
Make Linux compatible
golang: improve go doc completion
Reorder xcode plugin file
Add xcselv documentation in the README
xcode: add version-based xcselv()
Add README for the xcode plugin
Make simulator dependant of currently active dev directory
...
Switch to normal zsh %F/%f prompt escapes to avoid "eval" and extra variables.
Wrap whole thing in anonymous function so the existing `local`
statements actually work. Then switch '...' to eager "..." so
stuff actually works with local variables. And local-ize the
remaining variables that are used only in prompt construction.
- When the previous command's return status is non-zero and the prompt
is redrawn, graphical errors sometimes arise due to the fg{red} not
being escaped.
Problem
On detached-refs, the git prompt is very slow because it uses a command
to output all refs, which takes 32s on the twitter internal git repo.
Solution
Use git-rev-parse instead of git-show-ref to only output the head ref.
Runtime drops to 0.03 seconds.
Note
Interestingly, git-rev-parse isn't slow without the --head arguement so
I'll probably be cooking up a patch for the git team to speed this up
eventually, but it's still pointless to sigpipe git as it walks the
filesystem.
steeef theme sets colors depending on $TERM, however if %F is
used, it must be closed by %f instead of %{$reset_color%}.
Further on, all %f directives have been replaced by %F and color
support of current TERM is checked more properly.
Removed references for official git __git_ps1() functions.
Change to use omz function git_prompt* functions like:
- git_prompt_info() -> branch name
- git_prompt_status() -> check if untracked, modified, added,
stashed file are in the current git repo
- git_remote_status() -> check if current repo is ahead, behind,
or diverged.
These functions returns string automatically added to your PS1;
these are customizable via exporting ZSH_THEME_GIT_PROMPT*
* Moved git information to left prompt, with
support for:
* +ZSH_THEME_GIT_PROMPT_UNTRACKED, MODIFIED,
STASHED, ADDED, UPSTREAM STATUS
(if applicable)
* Removed right prompt
* Refactored following Google's guidelines for
scripts [ http://goo.gl/oJSXH2 ]
* Using local variables where applicable
* upstream/master: (128 commits)
Fixing some issues where show repeated weird values, and fixed commands that need the container autocomplete without being running, like start, now it autocompletes showing all the containers so you can start without knowing the right name
Add autocomplete for frontend-search
fix stackoverflow url in search
Add stackoverflow link
Fixed Typo.
[Modify] Update django.plugin.zsh for Django 1.7.6
Update _adb
Use camelCase for npm aliases
Added missing 'stt' command alias
Add README.md file
Re-order OS detection if..else statement.
add nmap plugin with some aliases for scan modes
Update Grunt plugin to 0.1.2
Fixing spaces in title and message given to bgnotify on OS X
Removing say() function in perl plugin so that it doesn't overwrite OSX comand line utility. Closes#2562
Adding keystrong return to oascrupt per suggestion by @enzzzy. Fixes#2913.
Updating histoby-substring-search README to instruct user to load plugins via .zshrc. Closes#1832.
Shorten the zle check and reset-prompt into one line.
Removing --no-check-certificate from README
Missed a few textile formatting spots
...
Fixes a bug where color of status arrow in prompt is red even when the exit code was zero (or success). This fix correclty returns green arrow on success and red for non-success exit code.
in the trapd00r theme vcs info is already displayed on the first line if in a version controlled directory. the second vcs info was displayed at the end of the second line without providing additional information. this was removed.