summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-14clipboard: Fix bad expansion of exit-code testRobert Estelle
2019-07-14clipboard: Fix tmux clipcopy after testingRobert Estelle
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-14clipboard: Fix "cilppaste" -> "clippaste" typoRobert Estelle
2019-07-12clipboard: Add support for several more clipboardsRobert Estelle
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)
2019-07-12clipboard: Avoid unnecessary re-detection each timeRobert Estelle
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-12clipboard: Reduce unnecessary special-casing on stdinRobert Estelle
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-12readme: document oneliner unattended installation command (#7983)Mark Coleman
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-11git: add missing grev alias to README (#7984)Adriaan Knapen
2019-07-01s/might/mayRobby Russell
After wandering into a few articles that discuss the difference between might and may...opting for may.
2019-07-01git-auto-fetch: silence stderr output (#7970)Jackson Delahunt
Redirect stderr to avoid printing errors to the console when the ssh key is not unlocked.
2019-06-27golang: add missing gom alias to README (#7961)Jacky Wu
2019-06-26terraform: update README (#7934)tom-apfm
Add better usage instructions for the plugin which actually work
2019-06-15kubectl: add statefulset aliases (#7826)Jason Schwerberg
2019-06-15colorize: add style environment variable (#7635)Marc Cornellà
2019-06-15adding gatsby command set (#7831)Nicholas Wehr
2019-06-15Add a completion plugin for dnote (#7885)Sung Won Cho
2019-06-15Add PersistentVolumeClaim support to kubectl plugin (#7827)Robby Russell
Just add aliases for PVC actions.
2019-06-15git: add git revert alias (#7841)SomeDer
* git: add `alias grev="git revert"` * Swapping double for single quotes Matching the conventions in the plugin
2019-06-14crcandy: use 24h format in prompt (#7926)Crackpot
2019-06-12rails: fix typo in README (#7923)Viktor Fonic
2019-06-11ubuntu: plugin cleanup and rename of ag alias to age (#7700)Marc Cornellà
* Clean up plugin and README * Rename ag to age to avoid conflict with The Silver Searcher Fixes #3866
2019-06-11debian: fix alias completion, rename ag and clean up README (#7698)Marc Cornellà
* 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-10meta: change feature request labelMarc Cornellà
2019-06-10pip: fix no such file or directory error (#7916)Ryan Greenblatt
Zsh may be configured such that ">>" will error if the file doesn't exist (`setopt noclobber`).
2019-06-09installer: don't rely on tput for coloringMarc Cornellà
tput is error-prone and may not be needed, since all the formatting codes used are standard across all types of terminals.
2019-06-08gitfast: downgrade to upstream v2.16 (#7918)Felipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2019-06-07kube-ps1: fix color bleeding in prompt (#7915)Roger Steneteg
2019-06-07gitfast: update to upstream v2.21 (#7914)Felipe Contreras
* 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-03Merge pull request #5169 from mcornella/refactor-installerMarc Cornellà
installer: fix, refactor and add installer arguments
2019-06-03installer: add documentation of new installer features to READMEMarc Cornellà
2019-06-03installer: ask user about changing the shell to zshMarc Cornellà
2019-06-03installer: allow for tput errorsMarc Cornellà
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-03installer: restore previous default shell with uninstallZach Whitten
Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com> Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-06-03installer: improve message formatting and colorMarc Cornellà
2019-06-03installer: change to --unattended argument and add docsMarc Cornellà
2019-06-03installer: comment changesMarc Cornellà
2019-06-03installer: add option to not run zsh at the endMarc Cornellà
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-03installer: don't run zsh at the endMarc Cornellà
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: add ability to skip the default shell changeMarc Cornellà
Co-authored-by: Marshall Ford <inbox@marshallford.me> Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: use timestamped backups to preserve all old zshrcsAndrew Janke
2019-06-03installer: use default color sequences on missing tputMarc Cornellà
Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever alpine uses. See https://unix.stackexchange.com/a/371873
2019-06-03installer: allow configuration of remote URL to clone fromMarc Cornellà
2019-06-03installer: add ability to install from forked & branched reposAndrew Janke
This facilitates testing of changes to the core installation code: you'll be able to do a roundtrip test of install and uninstall using the working code on your branch. Controlled by passing $REPO and $BRANCH environment variables to install.sh.
2019-06-03installer: improve zsh binary path search in setup_shellMarc Cornellà
This changes the behavior to default to the binary found first in $PATH, then checking it's actually in the shells file (/etc/shells). If that fails go back to the previous behavior, but actually check that the path obtained exists in the filesystem. Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: fix for Solus OS and systems with no /etc/shellsFran
Co-authored-by: Fredrik Fornwall <fredrik@fornwall.net>
2019-06-03installer: use guard clauses in setup_shell for better readabilityMarc Cornellà
Guard clauses are if constructs that return early if there is an error that prevents continuing. This way there isn't a big nesting of if expressions.
2019-06-03installer: make sure shell in /etc/shells is not commentedRaf Czlonka
Otherwise we risk a situation where a full path to `zsh` is commented, i.e.: #/usr/local/bin/zsh
2019-06-03installer: replace the current shell with the new ZSH instanceLuca S
This replaces the currently running process with the new one using `exec` instead of creating a new process. This way, when the user `exit`s out of the new shell it will not pop them back into the shell from which ohmyzsh was installed from.
2019-06-03installer: abstract error messagesMarc Cornellà
2019-06-03installer: fix for failed chsh quitting the installationMarc Cornellà