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

1975 commits

Author SHA1 Message Date
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
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
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
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
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
Ahmed Hisham Ismail
e1353fce3c Adds npmE alias
Option to execute a command from node_modules folder
2015-08-03 22:06:33 +02: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
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
Fabio Strozzi
ff8d799594 Esc-esc now toggles sudo.
Press esc-esc once to add sudo (normal behaviour), press it twice
to remove it from the beginning of the line.
2015-07-12 17:01:34 +02:00
Paul Robertson
ffe8e5465c add '--help' to heroku commands 2015-07-09 23:40:35 -04:00
Takumi IINO
1e8196de82 passing the first argument with double quote 2015-07-08 11:16:44 +09: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
Headless
750de22972 rails rake test 2015-07-07 15:44:35 +03:00
Mohnish Jadwani
dff03743ef adds an alias to search for the rails routes that pattern match a string 2015-07-07 09:47:49 +05:30
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
Andrew Janke
689b5ab3c8 osx: fix tab* functions so cd works in iTerm2, exit status is correct, and
error messages are not discarded.
2015-06-26 01:48:17 -04: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
Vadim
4b76b7429a remove trash command from osx plugin 2015-06-12 00:21:44 +02:00
wyldphyre
cf3fb873ec Added README.md file for ForkLift plugin 2015-06-12 00:17:26 +02:00
wyldphyre
81da07602c Added README.md file for atom plugin 2015-06-12 00:17:22 +02:00
wyldphyre
a2d7d36e70 Added README.md file 2015-06-12 00:17:17 +02:00
CkEsc
c28b226af2 Fix README.md for sst command 2015-06-12 00:14:59 +02:00
Daniel Campoverde [alx741]
0e35bd4001 Plugins: vi-mode: Add first README file 2015-06-12 00:08:26 +02:00
KhasMek
0f96e8e6c2 Plugins: archlinux - add basic README. 2015-06-12 00:03:55 +02:00
KhasMek
e5929680fd Plugins: archlinux - use command -v in favor of which
The command 'which' launches an external process that isn't
  really necessary.
2015-06-12 00:03:16 +02:00
KhasMek
e0ce87632d Plugins: apache2-macports - add README 2015-06-12 00:00:47 +02:00
ncanceill
8eb31a6f9a git plugin: fix ggpnp when called without argument
also allow multiple arguments for ggp and ggl aliases
2015-06-11 23:34:18 +02:00
Mikhail S. Pobolovets
1f008b4113 Update Mix complition upto 1.0.4
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2015-06-11 21:10:55 +02:00
Jorge González
02c2b74918 Update aliases in laravel5.plugin.zsh file
Some minor changes to the aliases.
* removed php artisan dump-autoload since is no longer a command in laravel 5
* updated the la5routes alias to the new version of the command
* added a la5vendor alias to publish assets from vendor packages
2015-06-11 21:10:39 +02:00
regagain
266894c6a1 Update taskwarrior.plugin.zsh
Corrected documentation to avoid confusion (see https://github.com/robbyrussell/oh-my-zsh/issues/3796)
2015-06-11 21:10:38 +02:00
Michele Bologna
1a4dc0d2db Renamed 'ss' alias to 'sstat' (to avoid collision with /bin/ss). 2015-06-11 21:10:38 +02:00
Paul
8791d7e09e Update bgnotify.plugin.zsh
Fixed error with spaces in commands
2015-06-11 21:10:37 +02:00
Luca Stefani
af4ffe56ea adb: add more commands 2015-06-11 21:10:37 +02:00
Octavian Neamtu
fb5b83d10d Fixed jump pluging to display the right mark name on 'mark . ' 2015-06-11 21:10:36 +02:00
Oleksandr Shybystyi
563e1052c7 Added README for mercurial plugin 2015-06-11 21:10:35 +02:00
Paul Melnikow
4c409b0de9 sublime: Make subl a function so it can be called from functions in other modules
Without this change, whether a function can invoke 'subl' depends on the order in which modules are loaded. With this change, the order doesn't matter.

zsh resolves aliases at parse time not run time, which means if you invoke an alias from a function, the alias must be defined before the function.

See http://stackoverflow.com/a/25532276/893113 which refers to an explanation of this limitation.

For code which may be used non-interactively, the recommend workaround is to use functions instead of aliases.
2015-06-11 21:10:34 +02:00
Jonathan Roemer
e8ac8b9b5f Added support for detecting Sublime Text 3 on Arch Linux 2015-06-11 21:10:34 +02:00
Matheus Cruz Rocha
6bec3c6719 Update history-substring-search README
This Change remove the .zsh on the plugin activate example, cause with the .zsh at the end the plugin won't be activated
2015-06-11 21:10:34 +02:00
DimitriSteyaert
83c3316cf4 Added the tugboat autocompletion plugin 2015-06-11 21:10:33 +02:00
ncanceill
f513999a4d git plugin: make b local in gg* functions
because it leaked, and led to #3991
2015-06-11 17:14:35 +02:00
ncanceill
6ff96dab36 git plugin: fix error msg in gwip alias
because git rm will fail when no files were deleted
2015-06-11 16:16:12 +02:00
ncanceill
6c29041af7 git plugin: global var for git command
due to issues like #3962
until a proper plugin-loading system is implemented
2015-06-11 15:12:28 +02:00
ncanceill
a570f4b7f3 git plugin: bring back olg gg aliases
by popular demand, see #3972
2015-06-11 11:04:54 +02:00
Eubene Sa
10c92cc083 Updates to ember-cli plugin 2015-06-11 01:09:44 -07:00
UserTaken
557dc09d71 More run and create options 2015-06-11 00:21:45 -07:00
Blake Watters
25df9f3998 Disable globbing when executing zeus rake aliases to enable use of square brackets without escaping 2015-06-10 14:36:55 +02:00
Sean Escriva
f21a672fed add kitchen completion plugin from @petere 2015-06-10 14:36:55 +02:00
Andrew Purcell
41104f8af8 Fix homebrew directory in aws plugin.
Sometimes the output of ``homebrew --prefix`` and ``homebrew --prefix
awscli`` don't match, and the second is the correct call.
2015-06-10 14:36:54 +02:00
David Hartmann
8652fd64ef added comment functionality
added commenting functionality by appending 'm' after the issue key (regular JIRA shortcut)
2015-06-10 14:36:54 +02:00
Wayne
729b19c085 Remove docker insert command
Remove the docker insert command of autocomplete
2015-06-10 14:36:53 +02:00
liuxiang
45e3f623cc Add README for httpie plugin 2015-06-10 14:36:53 +02:00
Alexandre Joly
d686f8a8d0 generate with 'pod --completion-script' /cc thx to @ajmccall
version bumped
2015-06-10 14:36:52 +02:00
Alexandre Joly
a2f782e5f3 updated the command list to the latest cocoapod version (0.33.0)
version bumped
2015-06-10 14:36:52 +02:00
Rodrigo Argumedo
b7d041c627 Add rdrs method to reset the database(s) 2015-06-09 13:41:34 -06:00
Werner Buck
5770ad51f9 Set AWS_PROFILE and use existing RPROMPT 2015-06-09 16:52:40 +02:00
Manfred Touron
3a77433cea
Add new boot2docker options 2015-06-09 11:29:37 +02:00
Robby Russell
4c21557862 Merge pull request #3320 from moul/pr-boot2docker
[boot2docker plugin] Initial version
2015-06-05 08:06:11 -07:00
Robby Russell
3e88e53ee7 Merge pull request #2999 from nicorevin/master
fix paclist() for non-english locales
2015-06-05 08:04:59 -07:00
Robby Russell
dac07b2652 Merge pull request #2736 from felipec/fc/gitfast
gitfast: update to upstream v1.9.2
2015-06-05 08:04:32 -07:00