Age | Commit message (Collapse) | Author |
|
This allows you to use `colored git log --help` for example, to get
colored output.
|
|
This reverts commit 59c1ec80aa9b018db34078e69a27e57aea5ad761.
|
|
|
|
|
|
Fixes #7985
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
Tmux must have special handling for /dev/stdin since it's managing the
terminal itself. This was tested with tmux-2.9a on macOS.
|
|
|
|
|
|
This implements essentially the same heuristic as neovim, with the additional
(existing) special support for Cygwin.
See: https://github.com/neovim/neovim/blob/e682d799fa3cf2e80a02d00c6ea874599d58f0e7/runtime/autoload/provider/clipboard.vim#L55-L121
- pbcopy, pbpaste (macOS)
- cygwin (Windows running Cygwin)
- wl-copy, wl-paste (if $WAYLAND_DISPLAY is set)
- xclip (if $DISPLAY is set)
- xsel (if $DISPLAY is set)
- lemonade (for SSH) https://github.com/pocke/lemonade
- doitclient (for SSH) http://www.chiark.greenend.org.uk/~sgtatham/doit/
- win32yank (Windows)
- tmux (if $TMUX is set)
|
|
Previously, OS detection would happen on each invocation. This makes it
happen once (unless it fails, in which case it will try again on the
next invocation).
This has the additional benefit of localizing the platform-specific
checks and commands, too, versus spreading them out in separate
functions.
|
|
Ideally the parameter would just be removed-users could always
just do "clipcopy < some-file". but removing the parameter would break
backwards compatibility.
In any case, this simplifies the logic considerably.
|
|
The original suggestion for an unattended install downloads the installation script to a file, then runs that file with the --unattended argument. The install.sh file would be left behind after the suggested command was run.
This change passes the --unattended argument directly into sh. So, it's a nice one-liner like the default installation script, and it doesn't leave a dangling install.sh script.
|
|
|
|
|
|
|
|
After wandering into a few articles that discuss the difference between might and may...opting for may.
|
|
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`).
|
|
tput is error-prone and may not be needed, since all the formatting
codes used are standard across all types of terminals.
|
|
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>
|
|
installer: fix, refactor and add installer arguments
|
|
|
|
|
|
tput may throw errors on invalid $TERM values, for example.
This shorthand syntax allows for that as well as for if tput
doesn't exist.
|
|
Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
|
|
|
|
|
|
|
|
Co-authored-by: Liquidsoul <liquidsoul@liquidsoul.fr>
Co-authored-by: Alexander Polynomdivision <digitalmail555@googlemail.com>
Co-authored-by: loket <loket@cruftlab.io>
Co-authored-by: Connor Demille <subtlepseudonym@gmail.com>
|