Alberto Gireud
f6557932e9
Add OSX support for command-not-found
11 years ago
Marc Cornellà
e44aa50301
Merge pull request #4535 from robbyrussell/mcornella-patch-1
...
[README] Update custom directory command and fix code blocks
11 years ago
Marc Cornellà
e9de366ea7
Update custom location command and fix code format
11 years ago
Marc Cornellà
ba20b9861e
Merge pull request #4016 from coopermaruyama/master
...
Fix typo.
Close #4016
11 years ago
Cooper Maruyama
9264d75d5d
Fix typo.
...
* `cfp` alias was referencing an old version of the `cf` command which
no longer exists. This has been updated to reference a valid command.
11 years ago
Marc Cornellà
405ee83af4
Merge pull request #4500 from sachin21/modify_a_condition
...
[FIX ERROR] Refactor for function in plugins/rake-fast/rake-fast.plugin.zsh
11 years ago
Marc Cornellà
d06f4d0893
Fix backwards logic in uninstaller once and for all
...
Really this time :P
Fixes #4533
11 years ago
Satoshi Ohmori
a1755e652c
Refactor for method in plugins/rake-fast/rake-fast.plugin.zsh
11 years ago
Marc Cornellà
4e42e1f7e1
Fix conditional in uninstall prompt
11 years ago
Marc Cornellà
b2010a0ae6
Fix syntax error in confirmation prompt of uninstall.sh
...
We need to use POSIX syntax. This file is no longer executed with zsh.
Fixes #4483 .
11 years ago
Marc Cornellà
ca5632bce1
Fix syntax error in #4515 on certain shells
...
Drops the `function` keyword and uses only `func(){}` syntax as per the
POSIX specification:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05
Related: #4531
11 years ago
Marc Cornellà
78dc858396
Revert "Make install script safer"
...
This reverts commit c9d93757e8 , which
makes it fail with a syntax error:
sh: 1: Syntax error: "(" unexpected
11 years ago
Marc Cornellà
8c84342b20
Merge pull request #4519 from evanandrewrose/master
...
Fix "be" -> "b" typo in coffee plugin README.md.
11 years ago
evanandrewrose
fe02e027fe
Fix "be" -> "b" typo in coffee plugin README.md.
11 years ago
Marc Cornellà
fdb0e239d4
Merge pull request #4507 from WhyEee/fix-no-tput
...
Fix install.sh/upgrade.sh for tput-less systems
11 years ago
Marc Cornellà
b3c10b925e
Merge pull request #4505 from arvindch/checked-upgrade
...
Check for git before trying to upgrade OMZ
11 years ago
Marc Cornellà
e0c9ada380
Merge pull request #4214 from queria/chuck-linefix
...
chucknorris: add missing line/quote delimiters
11 years ago
Marc Cornellà
662bdcc8d8
Merge pull request #4515 from brianloveswords/safer-install-script
...
Make install script safer
11 years ago
Brian J Brennan
c9d93757e8
Make install script safer
...
This changeset wraps all of the commands in tools/install.sh in a
function and then calls that function as the last line of the
script.
The current install instructions ask the user to download the install
script using `curl` and pass the result to `sh`. This is totally
fine (as long as both the instructions and the script itself are served
using HTTPS), but the script should be written in a way such that it
doesn't start trying to actually *do* anything until the very last line.
The reason is due to the way `curl` work: if the socket drops before the
request is complete (server abruptly hangs up, client's internet flakes
out, etc.), `curl` will return the partial data that it received. Here
is an example of that:

A way this might cause issues for tools/install.sh is if the connection drops
after cloning but before the repository (L53-56). The .zshrc
configuration will not be copied and the shell will not be changed, but
if the user tries to run the install script again it will claim
oh-my-zsh is already installed (L31-39).
While this is not a particularly dangerous error condition (the user can
just delete .oh-my-zsh and re-run), it can certainly be confusing for
new users. This also helps future-proof the script for a time when it
might need to use a "dangerous" command, e.g. `rm`, and we want to make
sure it happens in the most transactional way possible.
11 years ago
Marc Cornellà
a7b4c09373
Merge pull request #4526 from sachin21/fix_typo
...
[FIX #4525 ]: Fix typo
11 years ago
Satoshi Ohmori
2c8697b934
[ FIX #4525 ]: Fix typo
11 years ago
Marc Cornellà
8c73eb4f44
Merge pull request #4419 from apjanke/installer-termcap-hack
...
installer: ignore errors in color setup, for FreeBSD portability
11 years ago
Marc Cornellà
45f0a2800b
Merge pull request #4508 from Superbil/master
...
Fixd bug for pyenv plugin
11 years ago
Marc Cornellà
56345c26fb
Merge pull request #4473 from apjanke/5_1_1-bracketed-paste-hack
...
Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy
11 years ago
Superbil
2c54428d6e
Fixd bug for pyenv plugin
...
Check pyenv-virtualenv can eval before use it.
Signed-off-by: Superbil <superbil@gmail.com>
11 years ago
Yannick Eckey
75e619b724
Fix install.sh/upgrade.sh for tput-less systems
...
@fcrozat's original fix assumes `which` not to output anything to STDOUT
in case the command is not found. That is not necessarily true on all
systems. A better solution is to check the return value instead.
Fixes #4376
11 years ago
Arvind Chembarpu
e59e1c8417
Check for git before trying to upgrade, as per #4504
11 years ago
Robby Russell
aa15ebad3e
Merge pull request #4492 from arvindch/tweak-pyenv-plugin
...
Tweak pyenv plugin
11 years ago
Arvind Chembarpu
8a362b2b1f
Enable pyenv rehash
11 years ago
Arvind Chembarpu
8a95cedc3b
Init pyenv virtualenvs too
11 years ago
Robby Russell
306e3e7ea0
Merge pull request #4459 from Scuilion/update-gradle-commands
...
Gradle Plugin: Update Gradle Commands
11 years ago
Robby Russell
b28db6b475
Merge pull request #4475 from apjanke/diagdump-5.1-fix
...
diagnostics: fix for reserved-word changes in zsh 5.1
11 years ago
Robby Russell
30d7a6658e
Merge pull request #4486 from gfvcastro/alias-rails-server-port-option
...
Add option '--port' to 'rails server' alias.
11 years ago
Gustavo Villa
b18d386d7f
Add option '--port' to 'rails server' alias.
11 years ago
Robby Russell
57c2ac1e60
Merge pull request #4482 from sachin21/add_an_alias_for_upstream
...
Add an alias for upstream
11 years ago
Robby Russell
ff1bd952a7
Merge pull request #4480 from volcov/master
...
add alias to sort by version
11 years ago
Robby Russell
101758f63d
Merge pull request #4481 from apjanke/autoenv-emerg-fix
...
autoenv: actually source autoenv once located
11 years ago
Satoshi Ohmori
7597bf805e
Add an alias for upstream
11 years ago
Andrew Janke
2d0e7fbdad
autoenv: actually source autoenv once located
...
Fixes bug introduced in #4440
11 years ago
Bruno Volcov
252078dd6c
add alias to sort by version
11 years ago
Robby Russell
2522ab4504
Merge pull request #4204 from DoctorJellyface/patch-1
...
Added --now systemd aliases
11 years ago
Robby Russell
0be21f025e
Merge pull request #4440 from apjanke/autoenv-homebrew
...
autoenv: support homebrew-installed autoenv
11 years ago
Robby Russell
01448020a7
Merge pull request #4464 from rchiossi/master
...
Ask for confirmation before uninstall
11 years ago
Robby Russell
dc06e96e9c
Merge pull request #4254 from apjanke/copyfile-portability
...
Cross-platform clipboard clipcopy() and clippaste()
11 years ago
Robby Russell
b1173d4b30
Merge pull request #4418 from Gnouc/master
...
Encode64 Plugin - Fix wrong `echo` usage
11 years ago
Robby Russell
2459add3dd
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
11 years ago
Robby Russell
bb509dda23
Renaming colored-man to colored-man-pages because it needs to be.
11 years ago
Robby Russell
1510e7dd5e
Merge pull request #4472 from theavish/master
...
Fix ohmyz.sh link
11 years ago
Andrew Janke
d15521d09d
diagnostics: fix for reserved-word changes in zsh 5.1
...
Reference:
https://github.com/zsh-users/zsh/blob/zsh-5.1.1/NEWS#L20-L32
11 years ago
Andrew Janke
3551745792
Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy
...
A bracketed-paste-magic bug breaks pasting of CJK and some other characters in zsh 5.1.1.
http://www.zsh.org/mla/workers/2015/msg02680.html
See #4434
11 years ago