Commit graph

7,177 commits

Author SHA1 Message Date
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
linsilence
e6b26c1ea0 .zshrc_custom 2019-07-03 14:51:43 +08:00
linsilence
4647003fdc add plugin history-substring-search 2019-07-03 12:32:05 +08:00
linsilence
781b49330d replace .zshrc when upgrade 2 2019-07-03 12:07:26 +08:00
linsilence
d04f07caa8 add plugin history 2019-07-03 12:05:27 +08:00
linsilence
1b8f377d41 Merge remote-tracking branch 'upstream/master' 2019-07-03 11:59:34 +08: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
linsilence
ede2828ca1 Merge remote-tracking branch 'upstream/master' 2019-06-30 18:07:37 +08: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
linsilence
02b070e225 Merge remote-tracking branch 'upstream/master' 2019-06-18 12:51:04 +08:00
linsilence
758371861f fix theme 2019-06-18 12:49:41 +08:00
linsilence
bf5ac0bd30 fix astro theme 2019-06-17 14:14:14 +08: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
linsilence
305acdb755 disable replace .zshrc when upgrading 2019-06-15 11:13:40 +08:00
Crackpot
9060c1ddae crcandy: use 24h format in prompt (#7926) 2019-06-14 14:46:08 +02:00
linsilence
da478793f1 Merge remote-tracking branch 'upstream/master' 2019-06-14 15:08:51 +08:00
linsilence
b21e574d3c readme add issues 2019-06-14 15:03:14 +08: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
linsilence
b8d107fe11 fix 2019-06-11 12:40:15 +08:00
linsilence
2437394613 add plugins 2019-06-11 12:33:43 +08:00
Marc Cornellà
24cd8e8314
meta: change feature request label 2019-06-10 15:50:25 +02:00
linsilence
afffb83005 fix 2019-06-10 20:32:52 +08:00
linsilence
102391d011 add plugins 2019-06-10 20:17:55 +08:00
linsilence
839ea2dde4 add plugins 2019-06-10 19:57:47 +08:00
linsilence
556d535921 fix 2019-06-10 19:28:41 +08:00
linsilence
a5f8fc27c9 update .zshrc when upgrade 2019-06-10 19:22:10 +08:00
linsilence
c65a06ffb0 chmod +x 2019-06-10 19:03:54 +08:00
linsilence
eb151da207 fix 2019-06-10 18:51:40 +08:00
linsilence
8d5fb621e0 change to my template 1 2019-06-10 18:36:36 +08:00
linsilence
ace8e27928 change theme to astro 2019-06-10 18:21:35 +08:00
linsilence
59bdb3b25b change to my install path 2019-06-10 18:19:01 +08: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