1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 20:31:57 +00:00
Commit graph

1914 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Marc Cornellà
be5dcb8a59 Check if fbterm is installed and use $TTY variable 2015-08-09 21:55:52 +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
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
xiao.fan
cddfc3b038 style fixes 2015-08-04 15:10:18 -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
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
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
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
Roland Chernov
e38455bf4f Added conflict note (thefuck plugin) 2015-07-19 12:57:57 +09:00
linux_china
b4a8cbf6a5 spring boot plugin 2015-07-19 11:44:51 +08:00
linux_china
f838b56591 spring boot plugin readme 2015-07-19 11:44:42 +08:00
Roland Chernov
cd2213a030 Thefuck plugin README 2015-07-18 21:21:19 +09:00
Roland Chernov
7a13a407e9 Added thefuck plugin https://github.com/nvbn/thefuck 2015-07-18 21:10:56 +09:00
Andrew Janke
9a397254da Remove redundant comments from the .zsh file (since they're in README now). 2015-07-15 17:16:59 -04:00
Andrew Janke
6d618ef70e emoji plugin: generate char map from Unicode UTR51 data files
Refactor the functions and group listings to have fewer functions,
but have them take group names as parameters.
Pull group definitions in to a single associative array.
2015-07-15 17:07:33 -04:00
Robby Russell
a207a38d63 Merge pull request #4099 from moncho/master
Plugin now uses completion script from docker-compose repo.
2015-07-14 15:54:15 -07:00
Andrew Stuart
afa30572f5 Add jira_url_help 2015-07-13 13:10:31 -07:00
Paul Robertson
ffe8e5465c add '--help' to heroku commands 2015-07-09 23:40:35 -04:00
Patryk Małek
ad4675cb0a Concise local variables declarations 2015-07-07 20:26:00 +02:00
Patryk Małek
b1772c5333 More consistent curly braces variables 2015-07-07 20:07:13 +02:00
Patryk Małek
37f45eb621 Making variables local in jira plugin 2015-07-07 20:03:58 +02:00
Patryk Małek
1e99168627 Changing indents to be more consistent (2 spaces) 2015-07-07 19:56:22 +02:00
Patryk Małek
88a30a3e2f Changing string comparison for more zsh-like 2015-07-07 18:50:23 +02:00
Patryk Małek
b1da3bbc6f Adding ability to add JIRA_PREFIX as an env variable (e.g. in .zshrc) and minor refactor to bash curly variable braces 2015-07-06 22:00:53 +02:00
Robby Russell
3ea3384186 Merge pull request #4041 from apjanke/fix-jira-prefix-comment-merge
Fix jira plugin syntax error due to merge conflict
2015-07-06 09:33:43 -07:00
Andrew Janke
f73e642e22 virtualenvwrapper: treat git repos as project roots again (instead of requiring a .venv customization directory)
Change error output to more conventional OMZ format, so it's clear the plugin is for oh-my-zsh and not base zsh.
Use `local` variables instead of manual unsetting.
2015-07-02 21:57:15 -04:00
nextgenthemes
2e92ff8ae5 Adds agar = apt-get autoremove
Since #3902 lacks the auto-completion I made a PR for this as well.

Also fixes some typos.
2015-07-02 17:33:30 +02:00
Zhiye Li
efb04d66a0 add git alias gcam - git commit -am
add git alias `gcam` -  `git commit -am`
2015-06-30 17:50:01 -05:00
Andrew Janke
c1f1f91daa virtualenvwrapper: Replace "realpath" with portable zsh-native :A and :h modifiers 2015-06-29 18:55:58 -04:00
moncho
0950f9c56d Plugin now uses completion script from docker-compose repo. 2015-06-28 11:16:17 +02:00
Fredrik Strandin
546b99ad4c Use 'quit all' instead of counting needed quits 2015-06-26 15:47:00 +02:00
ncanceill
d24196cfbd git plugin: fix ggl to avoid empty string
see
https://github.com/robbyrussell/oh-my-zsh/pull/2790#issuecomment-112716330
2015-06-17 22:38:31 +02:00
Arnaud Rinquin
ed6645a282 Fix plugin/git ggpull and ggpush backward compatibility
Current `ggpush` is `git push origin` instead of `git push origin $(current_branch)`
Same for `ggpull`
2015-06-17 22:36:25 +02:00
Andrew Janke
d0670aa2bd Fix merge conflict for jira-prefix and jira add comment 2015-06-15 16:55:25 -04:00
Robby Russell
8921902388 Merge pull request #3852 from sachin21/add_alias_of_bundle_clean
Add alias of bundle clean
2015-06-14 22:28:33 -07:00
Robby Russell
5d214af6d2 Merge pull request #3858 from muchweb/muchweb-patch-1-editor
Use $EDITOR
2015-06-14 22:28:17 -07:00
Robby Russell
7daf7401b9 Merge pull request #3874 from diraol/patch-2
Debian Plugin: Differing upgrade and safe-upgrade
2015-06-14 22:27:59 -07:00
Robby Russell
0665ece7bd Merge pull request #3973 from moul/pr-boot2docker-update
Add new boot2docker options
2015-06-14 22:27:07 -07:00
Robby Russell
31b351ce4c Merge pull request #3947 from mkwmms/patch-1
Respect $ZSH_CACHE_DIR when creating fasd's cache
2015-06-14 22:26:28 -07:00
Robby Russell
0a8ca6adff Merge pull request #3918 from cbazin/master
Detect the .venv in any parent directory of the current directory
2015-06-14 22:19:23 -07:00
Robby Russell
b55effd3bb Merge pull request #3919 from delphij/history-extendedglob
Don't leak extendedglob to global environment.
2015-06-14 22:18:33 -07:00
Robby Russell
3a57076d93 Merge pull request #3813 from ziegs/fix_gradle_tasks
Fixes gradle autocomplete so it includes subproject tasks
2015-06-14 22:17:24 -07:00
Robby Russell
628c1fe1c0 Merge pull request #3848 from tristola/master
Added aliases for docker compose
2015-06-14 22:17:09 -07:00
Robby Russell
058def3b91 Merge pull request #3798 from dnixx/vundle-update
Use the newest Vundle commands
2015-06-14 22:16:34 -07:00
Robby Russell
c0b283c76b Merge pull request #3833 from coopermaruyama/master
coffeescript aliases for easy compiling
2015-06-14 22:16:04 -07:00
Robby Russell
6a340d99fd Merge pull request #3988 from UserTaken/docker_update
Docker run and create options
2015-06-14 22:15:40 -07:00
Robby Russell
ea5ff03b92 Merge pull request #3759 from mikeokner/master
Adding quotes to git completion discovery path
2015-06-14 22:14:07 -07:00
Robby Russell
04c301bb3a Merge pull request #3975 from wernerb/patch-1
Set AWS_PROFILE and use existing RPROMPT
2015-06-14 22:10:18 -07:00
Robby Russell
a1e722d446 Merge pull request #3976 from rodrigoargumedo/patch-1
Add rdrs method to reset the database(s)
2015-06-14 22:09:46 -07:00
Robby Russell
a7784636d8 Merge pull request #3929 from GunfighterJ/GunfighterJ-patch-sublime3
Add sublime text 3 paths to check list
2015-06-14 22:00:32 -07:00
Robby Russell
78bbf7a6e5 Merge pull request #3809 from ncanceill/easymerge
Easy-to-Merge
2015-06-14 21:46:41 -07:00
Mikhail S. Pobolovets
a7e79824f8 Add mix-fast plugin (similar to rake-fast)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2015-06-14 17:41:56 +02:00
UserTaken
55b1a2befe Update _docker 2015-06-13 16:30:18 -07:00
Michael Okner
3d670c0bfc Adding quotes to git completion discovery path
Previously, spaces in the path would result in wto separate errouneous
paths being parsed. This fixes that issue.
2015-06-13 08:59:10 -05:00
Fräntz Miccoli
4cc0a2638c A paver (Python build and configuration utility) plugin 2015-06-13 11:06:26 +02:00
Marc Cornellà
26c7adf110 Revert "Added migration notification for rails plugin"
This reverts commit 1493d88e3f, made
to put a deprecated notice on rails3 and rails4 plugins, so that
users would migrate to the unified rails plugin.

It's been 1.5 years since that, so everyone should be migrated to
the good one.
2015-06-13 11:05:38 +02:00
Sriram Sundarraj
8b95bdb5e0 Added github in web_search plugin. 2015-06-13 11:04:02 +02:00
Christian Hoener zu Siederdissen
83295ec9bc last-working-dir working with spaces in dirnames 2015-06-13 11:00:58 +02:00
Tommy Wang
d0b690b584 use local options to set no_equals before sourcing bash completion script 2015-06-13 10:57:31 +02:00
ncanceill
f1a43daa36 git plugin: new/changed aliases
gaa was brought back by popular demand — see #3535
gap was replaced with gapa — see #3682
gdc was replaced with gdca — see #3977
2015-06-12 11:50:30 +02:00
Filip Bartuzi
e55d84f76e Add reference to bundler plugin issue in README 2015-06-12 00:36:53 +02:00
Erlend Hamberg
763cef8013 Add leaves command to brew completion 2015-06-12 00:24:43 +02:00