Commit graph

7111 commits

Author SHA1 Message Date
Rocky
59c1ec80aa agnoster: fix VIRTUAL_ENV_DISABLE_PROMPT logic (#8050)
Fixes #7985
2019-07-31 09:23:50 +02:00
Gopal9816
9817e1e7ff common-aliases: add README (#8039) 2019-07-27 14:09:00 +02:00
PLANET ARGON
508cba2fc2 Removing plugin that was named after an external tool, which carries a 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) 2019-07-22 07:28:33 -07:00
Pavel Omelchenko
783dd1504f
change key string 2019-07-17 15:17:34 +03:00
Ilya Gorski
0565251c3b Unset all local functions after running them 2019-07-17 02:43:00 +03:00
Ilya Gorski
b90f76c141 fzf: Adding support for debian packages 2019-07-15 00:40:28 +03:00
Robert Estelle
d81cd753e0 clipboard: Fix bad expansion of exit-code test 2019-07-14 12:56:51 -04:00
Robert Estelle
841008c947 clipboard: Fix tmux clipcopy after testing
Tmux must have special handling for /dev/stdin since it's managing the
terminal itself. This was tested with tmux-2.9a on macOS.
2019-07-14 12:53:30 -04:00
Robert Estelle
d71d3d9905 clipboard: Fix "cilppaste" -> "clippaste" typo 2019-07-14 12:52:47 -04:00
Marc Cornellà
17f4cfca99
af-magic: make separator window-size-aware (#7739) 2019-07-13 12:48:10 +02:00
Robert Estelle
01e934d634 clipboard: Add support for several more clipboards
This implements essentially the same heuristic as neovim, with the additional
(existing) special support for Cygwin.
See: e682d799fa/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)
2019-07-12 17:45:57 -04:00
Robert Estelle
956ca639bb clipboard: Avoid unnecessary re-detection each time
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.
2019-07-12 17:45:57 -04:00
Robert Estelle
d855547661 clipboard: Reduce unnecessary special-casing on stdin
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.
2019-07-12 17:45:57 -04:00
Mark Coleman
29fb617e6b readme: document oneliner unattended installation command (#7983)
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.
2019-07-12 14:16:00 +02:00
Adriaan Knapen
6cb98eda15 git: add missing grev alias to README (#7984) 2019-07-11 20:42:28 +02:00
Erik Demaine
902e3172c9 Avoid error messages when there is no job 2019-07-07 10:48:36 -04:00
Erik Demaine
c1446b4750 Automatic title: Replace fg with description from jobs 2019-07-06 12:10:30 -04:00
Robby Russell
b259cdf7e7
s/might/may
After wandering into a few articles that discuss the difference between might and may...opting for may.
2019-07-01 08:01:24 -07:00
Jackson Delahunt
c7a7b70e07 git-auto-fetch: silence stderr output (#7970)
Redirect stderr to avoid printing errors to the console when the ssh key is not
unlocked.
2019-07-01 15:10:59 +02:00
Jacky Wu
7b2c4327e7 golang: add missing gom alias to README (#7961) 2019-06-27 18:49:00 +02:00
tom-apfm
5f743e1a84 terraform: update README (#7934)
Add better usage instructions for the plugin which actually work
2019-06-26 15:20:41 +02:00
Jason Schwerberg
c105c04b6b kubectl: add statefulset aliases (#7826) 2019-06-15 20:49:33 +02:00
Marc Cornellà
fb43df128f
colorize: add style environment variable (#7635) 2019-06-15 20:48:45 +02:00
Nicholas Wehr
fec2e56bc9 adding gatsby command set (#7831) 2019-06-15 10:54:19 -07:00
Sung Won Cho
5f18dbf895 Add a completion plugin for dnote (#7885) 2019-06-15 10:52:22 -07:00
Robby Russell
36e13f4803
Add PersistentVolumeClaim support to kubectl plugin (#7827)
Just add aliases for PVC actions.
2019-06-15 10:49:41 -07:00
SomeDer
f992d434ec git: add git revert alias (#7841)
* git: add `alias grev="git revert"`

* Swapping double for single quotes

Matching the conventions in the plugin
2019-06-15 10:47:23 -07:00
Crackpot
9060c1ddae crcandy: use 24h format in prompt (#7926) 2019-06-14 14:46:08 +02:00
Viktor Fonic
078f64dcf9 rails: fix typo in README (#7923) 2019-06-12 19:45:43 +02:00
Marc Cornellà
69f37800be
ubuntu: plugin cleanup and rename of ag alias to age (#7700)
* Clean up plugin and README
* Rename ag to age to avoid conflict with The Silver Searcher
  Fixes #3866
2019-06-11 15:05:55 +02:00
Marc Cornellà
7f98e1cb52
debian: fix alias completion, rename ag and clean up README (#7698)
* 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>
2019-06-11 15:02:04 +02:00
Marc Cornellà
24cd8e8314
meta: change feature request label 2019-06-10 15:50:25 +02:00
Ryan Greenblatt
d0b29ff0b3 pip: fix no such file or directory error (#7916)
Zsh may be configured such that ">>" will error if the file doesn't exist (`setopt noclobber`).
2019-06-10 00:02:08 +02:00
Marc Cornellà
702a594df3 installer: don't rely on tput for coloring
tput is error-prone and may not be needed, since all the formatting
codes used are standard across all types of terminals.
2019-06-09 16:33:06 +02:00
Felipe Contreras
d69bad8eb4 gitfast: downgrade to upstream v2.16 (#7918)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2019-06-08 16:33:56 +02:00
Roger Steneteg
65f34ce80e kube-ps1: fix color bleeding in prompt (#7915) 2019-06-07 18:30:08 +02:00
Felipe Contreras
eb3d463081 gitfast: update to upstream v2.21 (#7914)
* 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>
2019-06-07 17:57:46 +02:00
Marc Cornellà
52fdae4b3d
Merge pull request #5169 from mcornella/refactor-installer
installer: fix, refactor and add installer arguments
2019-06-03 17:19:37 +02:00
Marc Cornellà
c8ac4038cf installer: add documentation of new installer features to README 2019-06-03 17:18:26 +02:00
Marc Cornellà
b944fee6ea installer: ask user about changing the shell to zsh 2019-06-03 17:18:25 +02:00
Marc Cornellà
0824dcc9fb installer: allow for tput errors
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.
2019-06-03 17:18:25 +02:00
Zach Whitten
2e54ba2dfb installer: restore previous default shell with uninstall
Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-06-03 17:18:25 +02:00
Marc Cornellà
66d6d08841 installer: improve message formatting and color 2019-06-03 17:18:25 +02:00
Marc Cornellà
b931d6a9db installer: change to --unattended argument and add docs 2019-06-03 17:18:25 +02:00
Marc Cornellà
065844fdc0 installer: comment changes 2019-06-03 17:18:25 +02:00
Marc Cornellà
1cf42a506f installer: add option to not run zsh at the end
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>
2019-06-03 17:18:25 +02:00
Marc Cornellà
a40d93295f installer: don't run zsh at the end
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03 17:18:24 +02:00
Marc Cornellà
794ff4a62d installer: add ability to skip the default shell change
Co-authored-by: Marshall Ford <inbox@marshallford.me>
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03 17:18:24 +02:00
Andrew Janke
43b3126b5c installer: use timestamped backups to preserve all old zshrcs 2019-06-03 17:18:24 +02:00
Marc Cornellà
153f5e11ed installer: use default color sequences on missing tput
Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever
alpine uses. See https://unix.stackexchange.com/a/371873
2019-06-03 17:18:24 +02:00