Commit Graph

4529 Commits

Author SHA1 Message Date
Marc Cornellà 09fbc16366
Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
Marc Cornellà be5bff2e86
Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Marc Cornellà 7a9bab1d77
Update tmuxinator completion to 03c8babb 2018-06-12 19:20:10 +02:00
Peter Butkovic 321200d708 added tmuxinator aliases (#3147) 2018-06-12 19:19:59 +02:00
Marc Cornellà 3dcf9fd662
Delete python completion in favor of zsh's one 2018-06-12 18:40:31 +02:00
Matteo Giaccone 0808c0f6ef Remove default for git reset (#4993)
The command will do the same as before, but now you can also specify
a path.

Example:
grh branch-name
grhh tag-name
2018-06-12 18:23:31 +02:00
Andre Figueiredo 019e0d7c71 fix(typo) (#6905)
*trupd* for "trizen -Sy" fixed to *trupg*
2018-06-10 18:55:47 +02:00
Marc Cornellà f461d21de1
virtualenvwrapper: set $WORKON_HOME if undefined
This uses the default that virtualenvwrapper.sh would set if it was called. If the user
changes its value after the plugin is loaded, the plugin will work all the same.

Fixes #6882
Closes #6870
Closes #6883
2018-06-06 17:14:19 +02:00
Paul Ossenbruggen 6ace3cd18d add xx command to Xcode plugin. Allows quick opening of files in Xcode. (#6812) 2018-06-05 06:37:20 -07:00
Marc Cornellà ebda8af870
Clarify ssh-agent settings position 2018-05-28 17:09:53 +02:00
Michael Fladischer ce2890bef9 [plugins/vundle] Use HTTPS to clone repository. (#6857)
The git protocol is likely to be blocked in some networks while HTTPS usually
works.
2018-05-28 11:23:05 +02:00
Erwan ROUSSEL 8bbef9180e Npm's plugin documentation (#6864)
* Documentation for Npm plugin added

* Fix style and add alias descriptions
2018-05-26 22:22:22 +02:00
Marc Cornellà 62f676116e
Merge pull request #6863 from robbyrussell/fix-compfix-loading
compfix: better error message and loading of completions
2018-05-26 21:35:39 +02:00
Marc Cornellà b91659951e Always load secure completion directories 2018-05-26 21:33:49 +02:00
Marc Cornellà 77b924b839 Give more helpful message and disable purge of caches
This error message will give information on what exactly has happened
and how to either solve ownership and permissions or disable the check
entirely.

Also gets rid of the purge of compinit caches since with the current
logic insecure completion directories are ignored and therefore haven't
tainted the cached files.
2018-05-26 21:33:24 +02:00
Lorenzo Bolla 90a5bd06ca Prefer virtualenvwrapper_lazy (#6842)
This gives much faster start up times and only loads virtualenvwrapper
when needed.

Fix #6839
2018-05-26 20:44:49 +02:00
Marc Cornellà 5896c87155
shrink-path: match only the beginning of the directory (#6862)
Fixes #6317
2018-05-26 19:31:17 +02:00
Marc Cornellà 2294bae06a Merge branch 'shrink-path-chpwd-fix'
Closes #5930.
2018-05-26 19:07:46 +02:00
Kaleb Elwert 66cb4005ab Update shrink-path to use cd -q for bypassing the chpwd callbacks 2018-05-26 19:05:01 +02:00
Marc Cornellà c09783c255 Revert "unset chpwd_functions before running cd ... (#6830)"
This reverts commit 3dab7e46e8.
2018-05-26 19:02:03 +02:00
Pooya Parsa d6aeaad83d [plugin] update NPX docs (#6849) 2018-05-26 18:39:32 +02:00
Marc Cornellà 957eb77239
Merge pull request #6844 from lbolla/Issue6843
Cache kubectl completion script to file to speed up sourcing
2018-05-26 18:32:13 +02:00
Marc Cornellà 9b11b7e938
Update logic to follow npm plugin convention 2018-05-26 18:25:47 +02:00
Marc Cornellà 5421650c81
Merge pull request #6860 from nrobinson2000/patch-1
Remove po alias
2018-05-26 15:38:21 +02:00
Nathan Robinson de8ef8286a
Remove po alias
https://github.com/robbyrussell/oh-my-zsh/issues/6761
2018-05-25 23:46:18 -04:00
Marc Cornellà ed0bd6b33c
added a transfer.sh plugin (#5854)
* added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing site
Usage : transfer file.txt

* added README for transfer.sh plugin

* replaced transfer function with @nl5887 version

* updated transfer README.md

* modified the script to use tar command instead of zip

* Update README formatting

Co-authored-by: Remco Verhoef <remco@dutchcoders.io>
2018-05-25 20:56:59 +02:00
Marc Cornellà 3d8ee47c7a
Update README formatting 2018-05-25 20:44:56 +02:00
Marc Cornellà 8f3737f45b Revert fbcda4d
The PROMPT building method clashes with other themes and
plugins that modify the PROMPT variable.

Also reverted the $jobstates trick due to it not working
inside $PROMPT.
2018-05-23 11:33:34 +02:00
Chuan Jin 2642f0a8b4 Add git log with date (#6789) 2018-05-20 16:02:53 -07:00
Lorenzo Bolla ee96d0cf96 Fix 6840 Check emacsclient version instead of emacs's (#6841)
This is much faster.
2018-05-20 16:01:55 -07:00
Lorenzo Bolla 2956e7820e Fix 6843 Cache kubectl completion script to file to speed up sourcing 2018-05-20 13:46:27 +01:00
Mauro Porras P a600ab4b85 Minor fix: "stdin" instead of "stding" (#6801) 2018-05-17 16:30:03 +02:00
Nikolas Garofil 6dd39a11d4 Docker completion updated to current offical version from the Docker-devs (#6794)
This adds enable/disable and install/remove
2018-05-17 16:29:39 +02:00
Matt Lewin d79086bc87 Update terraform plugin with v0.11.7 commands and help (#6834) 2018-05-17 16:18:20 +02:00
Andrew Baumann fbcda4d5a9 agnoster: cut down on fork/execs improve performance when not in a repo (#6210)
* agnoster: improve perf with use of $jobstates (zsh/parameter module)

This saves multiple fork/execs (for the subshell and wc) each
time the prompt is rendered

* agnoster: compute git repo_path only when in a git repo

this avoids needlessly invoking git twice every time we render the prompt

* agnoster: avoid subshell when rendering prompt

Rather than forking a subshell to print the prompt, construct it
incrementally by appending to $PROMPT.

v2: fix incorrect CURRENT_BG
v3: fix bzr and hg prompting

Thanks @mcornella for the help.
2018-05-17 14:46:27 +02:00
dt-rush 3dab7e46e8 unset chpwd_functions before running cd to work with the path, to avoid side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls (#6830) 2018-05-17 14:45:04 +02:00
Frank Wittig e8aaab56b9 allow . in profile names 2018-05-16 18:01:09 +02:00
Julien Palmas de1e3c0794 add pg:backups command 2018-05-16 17:52:11 +02:00
rco-ableton c3493dc5ce Add Heroku pipelines support (#5660) 2018-05-16 17:40:42 +02:00
Marc Cornellà afba4f6b9f
Load insecure completion files if compfix is disabled
We have to assume that if people disabled the compfix system they really want
their completion to work, ignoring any permission issues.

Fixes #5651
Fixes #5957
Fixes #6461
2018-05-15 21:22:47 +02:00
Marc Cornellà 0aa645f803
pyenv: search the pyenv command if not found (#6811) 2018-05-15 12:07:23 +02:00
Gert de Pagter 2b7a41b0d2 Update the update prompt (#6825)
`[Oh My Zsh] Would you like to check for updates? [Y/n]: ` does not make sense, 
since answering yes will download/apply the new updates instead of checking for them.
2018-05-15 11:26:59 +02:00
Varun Patro 6876d9c543 Update fasd.plugin.zsh (#6822)
If `EDITOR` variable contains arguments to an editor such as mine:
`export EDITOR=emacsclient -t -c --alternate-editor=''`
Then, the editor's arguments are passed on to `fasd`. To fix this, pass the EDITOR program in quotes.
2018-05-14 16:00:04 +02:00
Harald Nordgren 0608bb768f Use 'apt' instead of 'apt-get' for Ubuntu >=16.04 (#5787) 2018-05-14 15:09:56 +02:00
Quentin Nerden 919f0a42a0 Updated autocomplete and readme (#6720)
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2018-05-13 21:58:35 +02:00
Ian Chesal 0c63909ad3 Fix default location of the virtualenvwrapper script (#6348)
The `virtualenvwrapper` script has been relocated to
`/usr/local/bin/virtualenvwrapper.sh`. Update the
plugin to look in the new location first. See:

http://virtualenvwrapper.readthedocs.io/en/latest/#introduction

to confirm the change in location for this script.

This addresses issue #3047 where the solution was to source this file
from your zshrc.
2018-05-13 21:56:46 +02:00
Marc Cornellà d02d008579
Add directory hierarchy navigation to dirhistory (#6756)
* New Feature:
  Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
  ALT-UP moves to higher hierarchy (cd ..)
  ALT-DOWN moves into the first directory found in alphabetical order
2018-05-13 01:57:42 +02:00
Giuseppe Landolfi 8ebf2a6785 Fine-tune dirhistory plugin mappings for Mac (#6580)
See https://github.com/robbyrussell/oh-my-zsh/pull/6533#issuecomment-360878060
2018-05-13 01:53:45 +02:00
Xiao Fan 18effd77db last-working-dir: disable chpwd_last_working_dir in subshells (#6817) 2018-05-11 16:28:02 +02:00
Hosh e8c328cb39 Update AWS completion (#6745) 2018-05-10 20:53:16 +02:00