Commit Graph

3653 Commits

Author SHA1 Message Date
Marc Cornellà
9121f3e9d7 Merge pull request #4 from wkentaro/fix-git-prompt-plugin
Show tag name when detached status if possible
2015-08-17 12:43:23 +02:00
Kentaro Wada
c4ba3065a1 Show tag name when detached status if possible 2015-08-17 18:22:27 +09:00
Fice-T
c66c3aef81 Fix graphical bug in cypher theme when return status is non-zero
- When the previous command's return status is non-zero and the prompt
  is redrawn, graphical errors sometimes arise due to the fg{red} not
  being escaped.
2015-08-16 22:53:07 -06:00
Mohnish Jadwani
3f83331c71 removes a trailing white space 2015-08-17 06:23:58 +05:30
Marc Cornellà
be667a24b0 Remove obsolete comment 2015-08-17 01:05:37 +02:00
Marc Cornellà
3c698743fa Clean up gitstatus.py 2015-08-16 23:21:48 +02:00
Kentaro Wada
45473c3a81 Fix for initial or detached status branch info 2015-08-16 23:02:17 +02:00
Marc Cornellà
30bed07e9c Parse UTF-8 output from git status 2015-08-16 23:02:16 +02:00
Kentaro Wada
94007f7db2 git-prompt: collect all git status information by one cmd
This commit uses the `git status --porcelain -b` format to gather the
number of ahead and behind commits related to the remote branch.
2015-08-16 23:02:15 +02:00
Marc Cornellà
6ff53d173b Cleanup of git-prompt plugin file 2015-08-16 23:02:14 +02:00
Marc Cornellà
1d133ff11f Cleanup the rest of gitstatus.py 2015-08-16 23:02:13 +02:00
Marc Cornellà
5642014ff1 Pull in simplified version from @wkentaro
This version uses `git status --porcelain` instead of making
multiple calls to `git status`.
2015-08-16 23:02:12 +02:00
Marc Cornellà
6443626a6b Pull in latest version from olivierverdier/zsh-git-prompt 2015-08-16 23:02:11 +02:00
Marc Cornellà
c6a5f6efb4 Check that list_size value is not zero before division 2015-08-16 22:40:52 +02:00
Marc Cornellà
88243b846a Use right variable name to avoid zero-length array
This fixes the typographic error that always assigned an undefined
array to `$names`, which made `$list_size` = 0 and triggered a
divide by zero error on the next line.
2015-08-16 22:26:33 +02:00
Felix Krause
de47e2df69 Use https instead of http 2015-08-16 19:29:58 +02:00
Gabe Martin-Dempesy
daedfcab51 reduce rbenv plugin load time by 150ms by removing additional brew call 2015-08-15 12:54:46 -07:00
Chayoung You
d20c111d78 rvm plugin: Fix gems to work with GNU sed
Fix #1579.
2015-08-15 15:19:02 +09:00
LE Manh Cuong
0238301726 Emoji plugin - Fix wrong string comparison 2015-08-14 09:55:46 +07:00
Robby Russell
192de6bcff Merge pull request #4238 from wubaiqing/master
Add Baidu support to web-search plugin
2015-08-12 21:16:37 -07:00
Robby Russell
1605d8264c Merge pull request #4234 from mcornella/fix-fbterm-autostart
Fix fbterm autostart
2015-08-12 21:16:19 -07:00
Robby Russell
7c60da9e1f Merge pull request #4233 from apjanke/apple-term-no-dupe-folder-in-title
termsupport: avoid repeated dir in window title in Terminal.app
2015-08-12 21:15:59 -07:00
Robby Russell
2ecb17c272 Merge pull request #4230 from mcornella/revert-custom-early-load
Revert commit a28dbc8 ("Move custon *.zsh file sourcing up ...")
2015-08-12 21:15:23 -07:00
Robby Russell
20f536c064 Merge pull request #4228 from mcornella/fix-virtualenvwrapper-quotes
[virtualenvwrapper] Add quotes to support folders with whitespace
2015-08-12 21:14:44 -07:00
Robby Russell
b8dbd9bfba Merge pull request #4217 from mcornella/standard-open-command
Implement and use a standard, cross-platform open command
2015-08-12 21:14:27 -07:00
Robby Russell
4c1eda114d Merge pull request #4216 from gkze/master
Add terraform completion
2015-08-12 21:13:39 -07:00
Robby Russell
e3a01e5af1 Merge pull request #4212 from NAR8789/master
Fix chpwd clobbering in dirhistory and last-working-dir
2015-08-12 21:12:58 -07:00
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