Age | Commit message (Collapse) | Author |
|
This fixes old git_commits_ahead behavior and changes git_commits_behind
to have the same behavior.
Fixes #5355
|
|
This makes things work even on system lacking /bin/sh, such as on
non-rooted Android systems.
|
|
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
|
|
* Function wasn't returning correct value
* Updated underlying git command
* Kept echo command from previous function for backwards compatibility
* Kept function consistent with git_commits_behind
|
|
* Added git_commits_behind function
* Added 'command' to git_commits_behind function
* git_commits_behind code review changes
|
|
|
|
Fixes weird autocompletion of directories and named users.
Fix #4864
|
|
|
|
Re-added $ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE variable which was removed in 9f55213
|
|
In places, the local statement will override the exit code and the written
command won't have the effect intended when it was written.
For example, when it's not inside a git repo the exit code won't be true,
but the local statement will make it true regardless. See #4708.
|
|
Fixes #4085: core -> plugin dependency issue.
Rename it to git_current_branch for clarity that it's git-specific.
Update all plugins that were calling it to use new name.
Fix variable leaks by making more variables in lib/git.zsh local.
Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
|
|
|
|
Currently, the title is only set on supported terminals (i.e. xterm,
urxvt, screen etc.). Using terminfo entries to set the terminal title
adds support for many more terminals.
|
|
This change enables UP-arrow and DOWN-arrow full-line history completion.
For example, if you write `git clone` and press UP:
- Before this change,
it will use the last command that starts with `git`.
- After this change,
it will use the last command that starts with `git clone`.
|
|
Make spectrum_ls implementation consistent with $FG and spectrum_bls
|
|
Hide spectrum.zsh var values to avoid junky output to terminal
|
|
The alias was removed in #3564. A couple of users were using
it, so I'm adding it back.
|
|
|
|
|
|
|
|
|
|
Add support for "putty" $TERM in termsupport.zsh
|
|
|
|
|
|
Otherwise `start` will confuse the first parameter as the title of
a new command prompt if the parameter contains whitespace. That is
because the command to be run will be:
start "abc def"
which opens a new command prompt window with the title "abc def".
With the added empty string we force the start command to interpret
the passed parameter as the file / command:
start "" "abc def"
which will be interpreted like `""` is the title and the rest is
the file or command to start.
-------
**NOTE:** this wouldn't be necessary if the start script in msys
was defined differently; that is, if it had the empty string
already incorporated in the script (/usr/bin/start), like so:
```diff
-cmd //c start "${@//&/^&}"
+cmd //c start "" "${@//&/^&}"
```
Notice however that this would make it impossible to use start
setting a different title, so it's probably best to leave it as is.
More info: http://sourceforge.net/p/msys2/tickets/14/
-------
The change `${(z)open_cmd}` is necessary to force zsh to split the
variable by the spaces and interpret it as separate words.
More info: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l17
|
|
Added an option for the msys value of $OSTYPE
|
|
|
|
There a syntax error if $cmd_var contains more than one word,
so we drop the current way to prepend nohup and use a simpler
if-else form.
|
|
|
|
Apparently `nohup` is not needed in OSX, and using it has the side
that it may break under tmux with the error
nohup: can't detach from console: No such file or directory
For now, this commit only drops the use of `nohup` in OSX. But it
*may* not be necessary under other similar platforms.
|
|
Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy
|
|
diagnostics: fix for reserved-word changes in zsh 5.1
|
|
Cross-platform clipboard clipcopy() and clippaste()
|
|
Reference:
https://github.com/zsh-users/zsh/blob/zsh-5.1.1/NEWS#L20-L32
|
|
A bracketed-paste-magic bug breaks pasting of CJK and some other characters in zsh 5.1.1.
http://www.zsh.org/mla/workers/2015/msg02680.html
See #4434
|
|
|
|
Redirect STDERR along with STDOUT when looking for ack-grep
|
|
The executable command on Mac OSX is 'ack' rather than 'ack-grep'.
|
|
|
|
fix url-quote-magic not working issue
|
|
Uniform git prompt equal remote
|
|
cvs's metadata is under CVS and not .cvs
|
|
|
|
Uniform git prompt equal remote to all others prompts, setting the correct symbol
(if applicable) to $git_remote_status, instead of echoing it.
It also solves the problem pointed out in #3911
|
|
Fix completion waiting dots function
|
|
Add omz_diagnostic_dump() to help with bug reporting
|
|
added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE
|
|
Fold terminalapp plugin in to lib/termsupport
|
|
add check for colored ls on openbsd. (retry of #2225)
|
|
Repair `zsh` Path Permissions on `oh-my-zsh` Startup under Cygwin
|