Age | Commit message (Collapse) | Author |
|
When a commit has multiple tags associated to it, the git-prompt will
throw the following error:
git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
git_super_status:[:7: integer expression expected: origin/v0.21.x,
git_super_status:[:11: integer expression expected: origin/v0.21.x,
git_super_status:[:14: integer expression expected: v0.21.x
git_super_status:[:23: integer expression expected: v0.21.x
This is due to the prompt expecting the tag field to be a single word
with no spaces in between but if there are multiple tags the python
script returns a string with ', ' space separated list of tags.
This throws off the parser. The solution is to ensure that the python
script returns a space-less string ensuring the git-prompt parser to
properly parse the data.
Signed-off-by: Thanh Ha <zxiiro@linux.com>
|
|
|
|
The option '-F' causes 'less' to automatically quit if the contents fit
the screen and the option '-X' causes 'less' to not clear the screen after
quit. I think both options are generally useful for terminal applications.
They are in particular useful for Git as it runs all output through a
pager. Git will run 'less' with '-FRX' by default if the environment
variable $LESS is not defined [1]. Since oh-my-zsh used to set $LESS to
'-R', Git would not override this setting. Consequently, Git would
display even a single line of output in a pager and the user would need
to explicitly quit that pager (see mailing list discussion [2]).
Therefore, lets change the oh-my-zsh default value for $LESS to '-FRX'.
This would be useful for oh-my-zsh Git users and likely for users of
other applications that use 'less' too.
[1] https://github.com/git/git/blob/36438dc19dd2a305dddebd44bf7a65f1a220075b/Documentation/config.txt#L819-L821
[2] https://public-inbox.org/git/2412A603-4382-4AF5-97D0-D16D5FAAFE28@eluvio.com/
|
|
|
|
|
|
This updates the git-flow-avh plugin to the latest version
from https://github.com/petervanderdoes/git-flow-completion
(0.6.0 at the time of this commit).
This mainly adds support for the "git flow bugfix" command.
This PR replaces #4626 as well as #4705, both of which adds support for the bugfix command but doesn't use the official version from https://github.com/petervanderdoes/git-flow-completion
Fixes #4705
Fixes #4626
Fixes #5903
|
|
|
|
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.
Fixes #6988
|
|
|
|
|
|
|
|
|
|
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
|
|
Version: ff73f40 (2018-05-02)
Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
|
|
* Fix dotenv plugin accepted file format
* clarify README and add disclaimer section
|
|
* Add Yarn upgrade-ineractive CLI command
* Remove dots at the end of completions
|
|
|
|
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
|
|
|
|
|
|
|
|
* enable passing multiple directories to take
* Update take function
Do not call cd if mkdir fails
|
|
|
|
Fixes #5874
Related:
https://github.com/lukechilds/zsh-nvm/issues/23
https://github.com/zsh-users/antigen/issues/586
|
|
|
|
* add plugin:percol
* fix format
* check percol
* fix empty history in gnome terminal
|
|
|
|
|
|
|
|
(Probably due to an original copy-pasta'ing, `vagrant`'s completion thought it was `gem`'s completion.)
|
|
|
|
|
|
|
|
* Added magic-enter plugin
To bind commonly used tasks to the enter key
* Allow the magic-enter commands to be modified by the user
|
|
|
|
|
|
I found this quite annoying not being in this theme after switching from gentoo-theme, it's helpful and it doesn't detract from simplicity.
|
|
Otherwise these files are not sourced:
1. /etc/zprofile
2. ~/.zprofile
3. /etc/zlogin
4. ~/.zlogin
5. ~/.zlogout
6. /etc/zlogout
|
|
When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
starts a new agent although it already exists.
The problem boils down to a check if ssh-agent is running using
```ps x```. If that is extended to ```ps ax``` for root, then the
existing ssh-agent will still work.
|
|
|
|
|
|
- Add double quotes to command so that the next argument isn't
interpreted as the title for the start command.
- If the first argument is a valid path, convert it to Windows path
notation. If `wslpath` fails—because it's a path from inside WSL,
which cannot be converted to Windows path notation— fail with an
error code.
This last circumstance will show an error like so:
wslpath: path: Result not representable
|
|
|
|
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
|
|
|
|
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
|
|
|
|
Fixes #6949
|
|
|
|
* Fix autojump sourcing on OSX with Macports
The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh
fix # 4625
* Fix bug with macports autojump on OSX.
|