Age | Commit message (Collapse) | Author |
|
Closes #8145
Co-authored-by: GHPS <GHPS@users.noreply.github.com>
|
|
Fixes the error `no matches found` because the argument is not quoted.
See https://github.com/robbyrussell/oh-my-zsh/pull/7629#issuecomment-531151821
|
|
|
|
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
|
|
|
|
Includes completions for `git switch`.
|
|
|
|
|
|
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
|
|
There appears to be a definition issue for some functions/aliases which
result in the following errors when sourcing .zshrc:
```
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: defining function based on alias `abd'
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: parse error near `()'
```
Fixes #7986
|
|
|
|
|
|
The `commands[autojump]` block errs out when autojump is not found, and the rest, which is intended to be used for loading `autojump`, does not get executed.
|
|
|
|
|
|
Git learned to add a `+` in front of branches that are
checked out in other worktrees.
See: https://github.com/git/git/blob/745f6812895b31c02b29bdfe4ae8e5498f776c26/Documentation/RelNotes/2.23.0.txt#L252-L256
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This allows you to use `colored git log --help` for example, to get
colored output.
|
|
|
|
|
|
|
|
history as a racist phrase. Was reported by a user of OMZ who shared some background on the terminology and how it made them feel. (#8027)
|
|
|
|
|
|
Redirect stderr to avoid printing errors to the console when the ssh key is not
unlocked.
|
|
|
|
Add better usage instructions for the plugin which actually work
|
|
|
|
|
|
|
|
|
|
Just add aliases for PVC actions.
|
|
* git: add `alias grev="git revert"`
* Swapping double for single quotes
Matching the conventions in the plugin
|
|
|
|
* Clean up plugin and README
* Rename ag to age to avoid conflict with The Silver Searcher
Fixes #3866
|
|
* Use double quotes to cache value of $apt_pref and $apt_upgr
* Clean up and fix syntax of command checks
* Clean up README and document $apt_pref/$apt_upgr overriding mechanism
* Rename `ag` alias (apt upgrade) to `au`
* Clean up README and fix syntax
Fixes #3686
Fixes #4660
Closes #5906
Co-authored-by: Noah Vesely <fowlslegs@riseup.net>
|
|
Zsh may be configured such that ">>" will error if the file doesn't exist (`setopt noclobber`).
|
|
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
|
|
|
|
* gitfast: use $OSTYPE again
In the last update to upstream this was reverted:
a56eac7a (Use OSTYPE instead of uname whenever possible for better speed. (#5496))
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: simplify plugin
No need to set and unset a variable we use once.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: add script to update from upstream
This would make easier the process of updating, and also not miss our
patches.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: update to upstream v2.21
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
|
|
For the `v` alias to work in its current state, the environment variable
EDITOR must already be defined by the time `source $ZSH/oh-my-zsh.sh`
happens. However, in the included zshrc template, EDITOR is set from
within the "User configuration" section, which begins immediately after
the above line. This means that, unless the user knows to move their
`export EDITOR` statements, EDITOR will be undefined when fasd.plugin.zsh
loads, and therefore the alias will have the value 'f -e ""', preventing
it from functioning.
With this change, `"$EDITOR"` will be evaluated each time the alias is
invoked, instead of just once when the alias is created. This allows for
EDITOR to be set from "User configuration" in the zshrc, and has the
additional flexibility of allowing a user to specify a different EDITOR
for a single session or invocation of the alias.
|