1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 01:40:09 +00:00
Commit graph

4566 commits

Author SHA1 Message Date
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
Quentin Nerden
825baeb310 Add autocomplete plugin for minikube (#6436) 2018-05-09 22:34:41 +02:00
Francisco Zuviría
18f7ca577a Adhere to coding style outlined in wiki 2018-05-08 12:55:59 -03:00
David Harrigan
b7e544e6f1 gradle plugin should support kotlin gradle build files (#6529)
This change allows the gradle plugin to recongise build.gradle.kts files and
thus generate the autocomplete entries.

-=david=-

closes #6528
2018-05-08 13:13:11 +02:00
Marc Cornellà
835c7df795 Merge branch 'MikeDawg-master'
Fixes #6426
Close #6598
2018-05-07 23:15:54 +02:00
MikeDawg
0011d34f71 Removed duplicate fedora from plugins, dnf provides exact same features 2018-05-07 23:14:49 +02:00
Joshua Kovach
362b061f5c Fix branch not updating on checkout in steeef (#6784)
* Fix branch not updating on checkout in steeef

* Check for `hub` in steeef when switching branches
2018-05-07 18:19:45 +02:00
Marc Cornellà
6bff079332
Allow completion of dot directories (#6803)
Fixes #3775, fixes #6543
2018-05-07 18:15:01 +02:00
Marc Cornellà
00f311a3c1
Add READMEs to plugins copydir and copyfile (#6802)
* Add README to copydir plugin

* Add README to copyfile plugin
2018-05-07 18:00:27 +02:00
ningwei1993
8f0ff4bb63 fix bug for check zsh (#6798) 2018-05-07 00:39:28 +02:00
Marc Cornellà
c4981bae0a installer: check if zsh in path instead of /etc/shells
Fixes #4955

Closes #5931
Closes #6398

Co-authored-by: Void <vst4rbot@gmail.com>
Co-authored-by: Kaleb Elwert <belak@coded.io>
2018-05-05 22:03:57 +02:00
Joseph Richey
cafa657469 Correctly handle verbose/version flags for rustc (#6786)
See the help output for rustc (v1.25)
2018-05-01 15:21:12 +02:00
Oliver Baumann
493c30954b Parse branch-name for fresh repo (#6302)
Inside a fresh git repo, i.e. immediately after a `git init`, usually no
commit template exists yet. In this case, git renders a different
status message than "Initial commit on". We should consider this message
when attempting to parse out the branch name.

Fixes #6301
2018-04-30 16:25:02 +02:00
Ady Romantika
32952ec7e8 Add aliases for kubectl ingress (#6762) 2018-04-28 07:55:46 -07:00