Commit graph

3624 commits

Author SHA1 Message Date
Robby Russell
f6a2b97356 Merge pull request #4203 from apjanke/title-protect-promptsubst
termsupport: protect title() with `emulate -L zsh` for portability
2015-08-12 21:12:21 -07:00
Robby Russell
45d640baee Merge pull request #4200 from lislon/systemd-patch
Add alias for "systemctl cat" and "systemctl edit"
2015-08-12 21:11:33 -07:00
Robby Russell
84ecc66cb7 Merge pull request #4172 from AlexTalker/fix-typo
Fix little typo that makes the statement useless.
2015-08-12 21:11:10 -07:00
Robby Russell
8c3d4a9826 Merge pull request #4095 from kd35a/master
Use 'quit all' instead of counting needed quits
2015-08-12 21:10:53 -07:00
Robby Russell
9626a36794 Merge pull request #3654 from Qix-/patch-1
Update README.markdown
2015-08-12 21:07:37 -07:00
Robby Russell
afc36e2710 Merge pull request #2446 from fallwith/emoji_plugin
Emoji plugin
2015-08-12 21:02:46 -07:00
Robby Russell
c45fff1f81 Merge pull request #2367 from andrew-dwyer/n98-magerun
New plugin for the n98-magerun Magento command line tool
2015-08-12 21:01:42 -07:00
Robby Russell
d1ea849fdd Merge pull request #2106 from adepasquale/master
Added ssh-like mosh window title
2015-08-12 21:01:00 -07:00
Chang Hyun Park
58d2f9335d Check if Zsh is installed prior to installing Oh My Zsh
Check if Zsh is installed before installing anything else.
New-commers, or people who don't read the disclaimers(ex. me) will go
straight to stack overflow if chsh -s returns an error.
2015-08-12 16:47:37 +09:00
Ahmed Hisham Ismail
dcd95dd223 Changes quotes so that path will be set appropriately on multiple runs 2015-08-11 02:56:49 +02:00
wubaiqing
9caa215a2f Add Baidu support to web-search plugin 2015-08-10 11:41:48 +08:00
Marc Cornellà
be10229659 Exit only if the fbterm session closed correctly
This prevents the previous behavior that exitted the zsh session
even if fbterm didn't start correctly.
2015-08-09 22:45:02 +02:00
Andrew Janke
14b4ba83c3 Move urlencode/urldecode functions to core lib 2015-08-09 16:28:47 -04:00
Marc Cornellà
be5dcb8a59 Check if fbterm is installed and use $TTY variable 2015-08-09 21:55:52 +02:00
Andrew Janke
17da983442 termsupport: avoid repeated dir in window title in Terminal.app 2015-08-09 15:15:12 -04:00
Marc Cornellà
3fe3ce8bdc Revert "Move custon *.zsh file sourcing up so that they can load plugins and other things that come after."
This reverts commit a28dbc8393.
2015-08-08 01:31:02 +02:00
Marc Cornellà
ccb0ae5720 Add quotes to support folders with whitespace 2015-08-07 22:45:46 +02:00
Andrew Robertson
c3fbe4d121 Add support for Docker images from custom registries 2015-08-05 19:51:05 +01:00
Manfred Touron
720fb5b68e
Support for 'scw' command (Scaleway CLI) 2015-08-05 14:58:00 +02:00
Ahmed Hisham Ismail
269ae84c9b Removes unnecessary single quotes 2015-08-05 02:49:20 +02:00
Marc Cornellà
b760a10cb2 Use standard open command in fasd and lighthouse plugins 2015-08-05 01:18:42 +02:00
Marc Cornellà
d1d06b5675 Use standard open command in current plugins
Substitutes the current duplicate logic for the standard
and cross-platform function open_command in plugins:

  frontend-search, jira, node, web-search
2015-08-05 00:57:40 +02:00
Marc Cornellà
2d0bfcf818 Implement cross-platform open function open_command()
For now this supports:
- Mac OS X
- Linux (presumably works on all versions)
- Cygwin (Windows)
2015-08-05 00:27:51 +02:00
xiao.fan
cddfc3b038 style fixes 2015-08-04 15:10:18 -07:00
George Kontridze
bd893ac35c Merge pull request #1 from dlsniper/terraform
Update to latest Terraform release 0.6.1
2015-08-04 13:53:38 -07:00
Florin Patan
cf78586f15 Update to latest Terraform release 0.6.1 2015-08-04 21:54:01 +02:00
gkze
7f3e6143ec Add terraform completion 2015-08-04 11:42:28 -07:00
xiao
aac5523629 Additional chpwd clobbering fix for dirpersist 2015-08-03 22:58:29 -07:00
xiao
084792b829 Don't clobber chpwd 2015-08-03 22:10:24 -07:00
Ahmed Hisham Ismail
e1353fce3c Adds npmE alias
Option to execute a command from node_modules folder
2015-08-03 22:06:33 +02:00
Andrew Janke
90ea67edf0 termsupport: protect title() with emulate -L zsh
This prevents it from malfunctioning when `setopt prompt_subst` is off.
2015-07-31 22:23:12 -04:00
Kentaro Wada
daa04bae86 gnu-utils: add findutils (find,xargs,locate) 2015-08-01 03:11:58 +09:00
Boris Avdeev
5554207279 Add alias for "systemctl cat" and "systemctl edit" 2015-07-31 15:05:07 +03:00
Roland Chernov
fb8c446ea4 Thefuck: fix global variable assignment 2015-07-30 21:04:58 +09:00
Matteo Giaccone
a2b574bc9e git plugin: make gclean safer, introduce gpristine 2015-07-30 12:32:41 +01:00
Andrew Stuart
96e5346efb Merge branch 'master' of gh:robbyrussell/oh-my-zsh 2015-07-29 14:04:08 -07:00
Andrew Stuart
2120b2e079 Add escaped home 2015-07-29 13:58:22 -07:00
Robby Russell
3d5b3430fd Merge pull request #4122 from apjanke/venvw-treat-git-repo-as-venv-again
virtualenvwrapper: Treat git repos as project roots again
2015-07-29 08:01:33 -07:00
Jerry Ling
c83575da3f Add 'man' plugin.
Inspired by sudo. But we have man-preview!
2015-07-29 20:05:44 +08:00
Brian Degenhardt
b875df8970 agnoster: speed up git prompt
Problem

On detached-refs, the git prompt is very slow because it uses a command
to output all refs, which takes 32s on the twitter internal git repo.

Solution

Use git-rev-parse instead of git-show-ref to only output the head ref.
Runtime drops to 0.03 seconds.

Note

Interestingly, git-rev-parse isn't slow without the --head arguement so
I'll probably be cooking up a patch for the git team to speed this up
eventually, but it's still pointless to sigpipe git as it walks the
filesystem.
2015-07-27 14:19:23 -07:00
Roland Chernov
f534b4b321 Thefuck: fixed compability with latest version 2015-07-23 20:55:15 +09:00
Roland Chernov
54e27406dc Thefuck: replaced static alias with eval "$(thefuck-alias)" 2015-07-23 20:53:56 +09:00
Black Roland
8e8a13398e Thefuck: combined with @cristim plugin. Code formating 2015-07-23 20:09:59 +09:00
Qix
b3ce0f36d6 Update README.markdown
A few spelling fixes, grammatical fixes (what's with all the ellipses?), some standardization of capitalization, and a few other tweaks.

As well, I changed all standalone code fragments into proper code blocks.

I also added a missing theme image!
2015-07-22 11:08:36 -06:00
Andrew Janke
fa25445868 diagnostics: include output file name in dump output 2015-07-22 12:59:39 -04:00
Cristian Măgherușan-Stanciu
803e5dbb84 improved the check for availability 2015-07-22 15:01:15 +09:00
Cristian Măgherușan-Stanciu
0da9a4be25 fuck: added a basic plugin for https://github.com/nvbn/thefuck 2015-07-22 15:01:14 +09:00
leycec
e8caf22beb Cygwin-specific "chsh" installation issue fixed.
Installation previously assumed the existence of a "chsh" command in the current
${PATH}. Since Cygwin does *NOT* provide this command, installation now tests
for the existence of this command before attempting to run it.
2015-07-20 00:56:19 -04:00
leycec
da395c5837 Secure umask enforced during installation.
For safety, a umask of 022 prohibiting both group and other writability is now
enforced during OMZ installation. In theory, this should reduce the likelihood
of subsequent compinit() failures due to insecure directory permissions under
all platforms except for default Cygwin installations (in which Windows ACLs
override POSIX umasks).
2015-07-20 00:56:19 -04:00
leycec
cb55161470 Completion insecurities handled on startup.
Completion-dependent directories with insecure permissions or ownership (e.g.,
group or other writability) are now detected, reported, and sanitized on OMZ
startup rather than unsafely ignored -- which resulted in effectively empty
completion caches and obscure compdef() errors resembling
"compdef: unknown command or service: git".

This fixes long-standing issues #630, #3356, and #3455 and related Babun issues
159, 281, and 322 -- and probably numerous other duplicates.
2015-07-20 00:56:02 -04:00